Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001103/0.001103, allocations: 181.1 kB / 498.1 MB, free: 5.738 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.793/1.793, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.0009653/0.0009654, allocations: 100.3 kB / 0.9346 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003609, allocations: 4.75 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3453, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2588/0.6042, allocations: 149.9 MB / 1.369 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.6046, allocations: 79.95 kB / 1.369 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007099/0.6117, allocations: 2.447 MB / 1.372 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.976e-06/0.6117, allocations: 0 / 1.372 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.6117, allocations: 0 / 1.372 GB, free: 9.574 MB / 0.8698 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.0007023/0.6125, allocations: 0.5058 MB / 1.372 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.464e-05/0.6125, allocations: 8.031 kB / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.6127, allocations: 19.8 kB / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.6128, allocations: 178.9 kB / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.6129, allocations: 4 kB / 1.372 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.6129, allocations: 4 kB / 1.372 GB, free: 8.766 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.6134, allocations: 241.6 kB / 1.373 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.6134, allocations: 0 / 1.373 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.6134, allocations: 0 / 1.373 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.6134, allocations: 3.938 kB / 1.373 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.6136, allocations: 147.9 kB / 1.373 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.6139, allocations: 213.5 kB / 1.373 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.6145, allocations: 0.5415 MB / 1.374 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.6145, allocations: 0 / 1.374 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004971/0.615, allocations: 384.3 kB / 1.374 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 1.533e-06/0.6151, allocations: 0 / 1.374 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39): time 0.0009364/0.616, allocations: 0.8042 MB / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.6161, allocations: 101.1 kB / 1.375 GB, free: 6.215 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.251e-05/0.6162, allocations: 96.98 kB / 1.375 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.6162, allocations: 29.7 kB / 1.375 GB, free: 6.078 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.6163, allocations: 88.81 kB / 1.375 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.34e-05/0.6163, allocations: 71.02 kB / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.6164, allocations: 0 / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6165, allocations: 330.8 kB / 1.375 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.6166, allocations: 75.98 kB / 1.375 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.63e-05/0.6167, allocations: 83.97 kB / 1.376 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.6168, allocations: 170.9 kB / 1.376 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6168, allocations: 3.984 kB / 1.376 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003605/0.6172, allocations: 340 kB / 1.376 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.825e-05/0.6173, allocations: 81.64 kB / 1.376 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6173, allocations: 4 kB / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6173, allocations: 0 / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.6174, allocations: 0 / 1.376 GB, free: 4.816 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.6174, allocations: 3.984 kB / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.993e-05/0.6175, allocations: 27.75 kB / 1.376 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.6175, allocations: 8 kB / 1.376 GB, free: 4.777 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000283/0.6178, allocations: 269.6 kB / 1.376 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.6179, allocations: 23.84 kB / 1.376 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.6179, allocations: 13.2 kB / 1.376 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.6179, allocations: 0 / 1.376 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6179, allocations: 0 / 1.376 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6179, allocations: 0 / 1.376 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.6181, allocations: 277.1 kB / 1.377 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.6182, allocations: 0 / 1.377 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-06/0.6182, allocations: 3.984 kB / 1.377 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.6182, allocations: 4 kB / 1.377 GB, free: 4.129 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.6182, allocations: 11.98 kB / 1.377 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6182, allocations: 0 / 1.377 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6182, allocations: 0 / 1.377 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.6194, allocations: 1.283 MB / 1.378 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.287e-05/0.6195, allocations: 96.81 kB / 1.378 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.6196, allocations: 83.92 kB / 1.378 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.6197, allocations: 8 kB / 1.378 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.6198, allocations: 7.984 kB / 1.378 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.6198, allocations: 19.98 kB / 1.378 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.6199, allocations: 79.28 kB / 1.378 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6199, allocations: 4.031 kB / 1.378 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004053/0.6203, allocations: 79.94 kB / 1.378 GB, free: 2.418 MB / 0.8698 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 (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.0004902/0.6208, allocations: 254.5 kB / 1.379 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.6223, allocations: 1.967 MB / 1.38 GB, free: 200 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6223, allocations: 0 / 1.38 GB, free: 200 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.6239, allocations: 2.022 MB / 1.382 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.6241, allocations: 12.12 kB / 1.382 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.6248, allocations: 354.5 kB / 1.383 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.6251, allocations: 0.7169 MB / 1.384 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.673e-05/0.6251, allocations: 0 / 1.384 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.6251, allocations: 7.438 kB / 1.384 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of SimCode: time 4.6e-07/0.6252, allocations: 4 kB / 1.384 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of Templates: time 0.005532/0.6307, allocations: 2.73 MB / 1.386 GB, free: 10.29 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","../files/Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches