Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.469/2.469, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.001179, allocations: 175.6 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.788/1.788, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 95.83 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/2.024e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2824, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.336/1.619, allocations: 150 MB / 1.359 GB, free: 17.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/1.619, allocations: 86.06 kB / 1.359 GB, free: 17.31 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00872/1.628, allocations: 2.416 MB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.706e-06/1.628, allocations: 0 / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.067e-05/1.628, allocations: 3.938 kB / 1.361 GB, free: 32.88 MB / 0.8386 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.0006685/1.628, allocations: 0.5027 MB / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/1.629, allocations: 19.47 kB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/1.629, allocations: 15.44 kB / 1.362 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/1.629, allocations: 178.1 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/1.629, allocations: 0 / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/1.629, allocations: 4.875 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001891/1.629, allocations: 144 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/1.63, allocations: 236.2 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.63, allocations: 0 / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/1.63, allocations: 3.5 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.63, allocations: 0 / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/1.63, allocations: 191.4 kB / 1.363 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/1.63, allocations: 0.5271 MB / 1.363 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004194/1.631, allocations: 0.5222 MB / 1.364 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/1.631, allocations: 0 / 1.364 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004602/1.631, allocations: 385 kB / 1.364 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 2.134e-06/1.631, allocations: 0 / 1.364 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0007116/1.632, allocations: 408 kB / 1.364 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/1.632, allocations: 116 kB / 1.364 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/1.632, allocations: 100 kB / 1.365 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.632, allocations: 25.7 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/1.632, allocations: 82.98 kB / 1.365 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.613e-05/1.632, allocations: 74.41 kB / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/1.632, allocations: 3.844 kB / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000218/1.633, allocations: 326 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/1.633, allocations: 77.53 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.25e-05/1.633, allocations: 86.03 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/1.633, allocations: 108.3 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.633, allocations: 0 / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000329/1.633, allocations: 266.1 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-05/1.633, allocations: 84.94 kB / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.633, allocations: 0 / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.634, allocations: 0 / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/1.634, allocations: 0 / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/1.634, allocations: 0 / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/1.634, allocations: 20.89 kB / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/1.634, allocations: 11.78 kB / 1.366 GB, free: 31.06 MB / 0.8386 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 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002877/1.634, allocations: 248.9 kB / 1.366 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006562/1.635, allocations: 0.5253 MB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/1.635, allocations: 23.19 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/1.635, allocations: 5.969 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.635, allocations: 1.219 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.635, allocations: 3.844 kB / 1.366 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.635, allocations: 3.938 kB / 1.366 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/1.635, allocations: 230.5 kB / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.635, allocations: 0 / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-06/1.635, allocations: 4.031 kB / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/1.635, allocations: 3.812 kB / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/1.635, allocations: 15.62 kB / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.635, allocations: 0 / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.635, allocations: 3.844 kB / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006796/1.636, allocations: 0.5656 MB / 1.367 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/1.636, allocations: 90.52 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/1.636, allocations: 82.41 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.493e-05/1.636, allocations: 11.56 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/1.636, allocations: 10.94 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/1.636, allocations: 26.05 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.126e-05/1.636, allocations: 83.48 kB / 1.368 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.636, allocations: 0 / 1.368 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000426/1.637, allocations: 75.42 kB / 1.368 GB, free: 30.4 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001555/1.638, allocations: 1.246 MB / 1.369 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001543/1.64, allocations: 1.946 MB / 1.371 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.64, allocations: 0 / 1.371 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/1.641, allocations: 2.003 MB / 1.373 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/1.642, allocations: 17.16 kB / 1.373 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/1.642, allocations: 308.5 kB / 1.373 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/1.643, allocations: 0.7191 MB / 1.374 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.947e-05/1.643, allocations: 0 / 1.374 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/1.643, allocations: 30.66 kB / 1.374 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of SimCode: time 1.993e-06/1.643, allocations: 0 / 1.374 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/1.673, allocations: 3.945 MB / 1.378 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003013/1.673, allocations: 197.4 kB / 1.378 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/3.514, allocations: 0 / 1.378 GB, free: 28.26 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat does not exist to compare? outputFormat=mat