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.361/2.361, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001083/0.001083, allocations: 164.9 kB / 492.3 MB, free: 0.625 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.694/1.694, allocations: 221.3 MB / 0.7872 GB, free: 12.97 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.0009559/0.0009558, allocations: 98.45 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.547e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3462, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.977/1.323, allocations: 149.9 MB / 1.359 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/1.324, allocations: 76.48 kB / 1.359 GB, free: 19.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006766/1.33, allocations: 2.423 MB / 1.361 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.33, allocations: 0 / 1.361 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.33, allocations: 0 / 1.361 GB, free: 34.64 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.0004005/1.331, allocations: 0.4968 MB / 1.362 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.331, allocations: 11.38 kB / 1.362 GB, free: 34.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/1.331, allocations: 20.3 kB / 1.362 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/1.331, allocations: 180.5 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/1.331, allocations: 3.938 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/1.331, allocations: 7.844 kB / 1.362 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/1.331, allocations: 242.9 kB / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.331, allocations: 1.359 kB / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/1.331, allocations: 0 / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/1.331, allocations: 0 / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/1.332, allocations: 146.1 kB / 1.362 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/1.332, allocations: 215.6 kB / 1.362 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/1.332, allocations: 0.5352 MB / 1.363 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/1.332, allocations: 0.5332 MB / 1.363 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/1.332, allocations: 3.938 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/1.333, allocations: 387.7 kB / 1.364 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=39): time 1.162e-06/1.333, allocations: 0 / 1.364 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.0004946/1.333, allocations: 496 kB / 1.364 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/1.333, allocations: 107.8 kB / 1.364 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/1.333, allocations: 94.66 kB / 1.365 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/1.333, allocations: 37.55 kB / 1.365 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/1.333, allocations: 80.92 kB / 1.365 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/1.333, allocations: 78.52 kB / 1.365 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/1.333, allocations: 0 / 1.365 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.334, allocations: 331.5 kB / 1.365 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/1.334, allocations: 83.53 kB / 1.365 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/1.334, allocations: 77.58 kB / 1.365 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/1.334, allocations: 176 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.334, allocations: 0 / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003026/1.334, allocations: 336.5 kB / 1.366 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.604e-05/1.334, allocations: 77.61 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.334, allocations: 0 / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.334, allocations: 0 / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/1.334, allocations: 5.422 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/1.334, allocations: 0 / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/1.334, allocations: 15.66 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/1.334, allocations: 7.812 kB / 1.366 GB, free: 32.7 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.0002054/1.335, allocations: 249.9 kB / 1.366 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/1.335, allocations: 27.41 kB / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.67e-05/1.335, allocations: 9.328 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.335, allocations: 1.359 kB / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.335, allocations: 0 / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/1.335, allocations: 0 / 1.366 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/1.335, allocations: 278.9 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/1.335, allocations: 3.938 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-06/1.335, allocations: 1.359 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/1.335, allocations: 0 / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/1.335, allocations: 19.08 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.335, allocations: 0 / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.335, allocations: 4 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/1.336, allocations: 1.272 MB / 1.368 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/1.336, allocations: 99.69 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/1.336, allocations: 82.8 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/1.336, allocations: 11.34 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/1.336, allocations: 5.594 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/1.336, allocations: 26.91 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.215e-05/1.337, allocations: 86.12 kB / 1.368 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.337, allocations: 0 / 1.368 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002792/1.337, allocations: 74.92 kB / 1.368 GB, free: 32 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.0004324/1.337, allocations: 255.6 kB / 1.368 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001311/1.339, allocations: 1.954 MB / 1.37 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.339, allocations: 0 / 1.37 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/1.34, allocations: 2.02 MB / 1.372 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/1.34, allocations: 10.47 kB / 1.372 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/1.34, allocations: 266.1 kB / 1.372 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/1.341, allocations: 0.7238 MB / 1.373 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.263e-05/1.341, allocations: 0 / 1.373 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.133e-05/1.341, allocations: 7.5 kB / 1.373 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.341, allocations: 4 kB / 1.373 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of Templates: time 0.005312/1.346, allocations: 2.741 MB / 1.376 GB, free: 30.68 MB / 0.8386 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