Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.321/1.321, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008951/0.0008952, allocations: 171 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205 MB / 0.576 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007368/0.0007368, allocations: 90.36 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 8.344 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2432, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001597/0.2448, allocations: 1.082 MB / 0.8972 GB, free: 66.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.2456, allocations: 380.5 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.034e-05/0.2457, allocations: 0 / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.2458, allocations: 0 / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.618e-05/0.2458, allocations: 3.938 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.2462, allocations: 79.84 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.443e-05/0.2463, allocations: 35.92 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.2463, allocations: 7.984 kB / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.2464, allocations: 19.88 kB / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.2464, allocations: 23.95 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.2464, allocations: 0 / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.2466, allocations: 71.94 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.2466, allocations: 31.84 kB / 0.8979 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.2467, allocations: 47.73 kB / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.2469, allocations: 151.5 kB / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2469, allocations: 0 / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2469, allocations: 0 / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.2469, allocations: 0 / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005042/0.2474, allocations: 0.5018 MB / 0.8986 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.2475, allocations: 12.03 kB / 0.8986 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.2475, allocations: 42.73 kB / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.2477, allocations: 16.75 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2478, allocations: 172.3 kB / 0.8988 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.2478, allocations: 8.375 kB / 0.8988 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.2478, allocations: 4.375 kB / 0.8988 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.2481, allocations: 245.7 kB / 0.899 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2481, allocations: 3.938 kB / 0.899 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2481, allocations: 4 kB / 0.899 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.2481, allocations: 0 / 0.899 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.2483, allocations: 144 kB / 0.8992 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.2484, allocations: 201.3 kB / 0.8994 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.2487, allocations: 0.5384 MB / 0.8999 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.249, allocations: 0.5243 MB / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-06/0.249, allocations: 0 / 0.9004 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003204/0.2493, allocations: 403.5 kB / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=39): time 1.102e-06/0.2493, allocations: 0 / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39): time 0.0006116/0.2499, allocations: 0.6977 MB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.25, allocations: 105.1 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.2501, allocations: 101.9 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.2501, allocations: 29.69 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.346e-05/0.2501, allocations: 80.8 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.2502, allocations: 75 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.2502, allocations: 29.7 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.2503, allocations: 322.8 kB / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.2504, allocations: 83.98 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.2505, allocations: 79.97 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.2507, allocations: 361.4 kB / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2507, allocations: 0 / 0.9027 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002646/0.251, allocations: 336 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/0.251, allocations: 85.58 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2511, allocations: 0 / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-05/0.2511, allocations: 0 / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.2512, allocations: 4 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.2512, allocations: 4 kB / 0.9031 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.2513, allocations: 15.84 kB / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.2513, allocations: 8 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.2516, allocations: 269.7 kB / 0.9034 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.2516, allocations: 23.75 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.31e-05/0.2516, allocations: 5.219 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2516, allocations: 0 / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2516, allocations: 4 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2516, allocations: 3.938 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.2518, allocations: 237.4 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2518, allocations: 4 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2518, allocations: 3.938 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2518, allocations: 3.938 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.2518, allocations: 19.98 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2518, allocations: 0 / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2518, allocations: 0 / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008514/0.2527, allocations: 1.287 MB / 0.9049 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.2527, allocations: 96.8 kB / 0.905 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.799e-05/0.2528, allocations: 75.95 kB / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-05/0.2529, allocations: 8 kB / 0.9051 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.2529, allocations: 8.016 kB / 0.9051 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.253, allocations: 19.98 kB / 0.9051 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.981e-05/0.253, allocations: 79.28 kB / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.253, allocations: 3.938 kB / 0.9052 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000247/0.2532, allocations: 72 kB / 0.9053 GB, free: 58.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00129/0.2545, allocations: 1.962 MB / 0.9072 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.2557, allocations: 1.964 MB / 0.9091 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2557, allocations: 0 / 0.9091 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009212/0.2566, allocations: 2.015 MB / 0.9111 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.2568, allocations: 19.38 kB / 0.9111 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.2574, allocations: 414.8 kB / 0.9115 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.2576, allocations: 0.713 MB / 0.9122 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.837e-05/0.2576, allocations: 8 kB / 0.9122 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.2577, allocations: 31.42 kB / 0.9122 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.2577, allocations: 0 / 0.9122 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07478/0.3325, allocations: 3.725 MB / 0.9159 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.3327, allocations: 267.4 kB / 0.9161 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.057, allocations: 3.938 kB / 0.9161 GB, free: 47.23 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)