Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_10_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_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 108.6 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 191.8 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 67.89 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9333/0.9362, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.003216/0.9394, allocations: 1.32 MB / 1.169 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009387/0.9404, allocations: 361.3 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.9405, allocations: 4 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.9406, allocations: 0 / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.061e-05/0.9406, allocations: 3.938 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.9412, allocations: 95.7 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.9413, allocations: 63.84 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.9414, allocations: 0 / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.332e-05/0.9414, allocations: 19.97 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.9415, allocations: 19.92 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.9415, allocations: 4 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.9418, allocations: 83.84 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.9418, allocations: 27.92 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.056e-05/0.9419, allocations: 55.67 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.9422, allocations: 155.9 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.9422, allocations: 4 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9422, allocations: 4 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.9422, allocations: 0 / 1.169 GB, free: 1.652 MB / 0.8887 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.0007315/0.943, allocations: 0.5121 MB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.943, allocations: 12.92 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.9432, allocations: 16.84 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.9433, allocations: 176.2 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.9434, allocations: 8.375 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.9434, allocations: 4.375 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.9438, allocations: 239.8 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.9438, allocations: 192 / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.9439, allocations: 11.86 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.9439, allocations: 0 / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.9441, allocations: 148 kB / 1.171 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000214/0.9443, allocations: 185.5 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.9448, allocations: 0.5338 MB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.9453, allocations: 0.5242 MB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.9453, allocations: 4 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00052/0.9458, allocations: 407.5 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=39): time 1.743e-06/0.9458, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39): time 0.0009876/0.9468, allocations: 0.6826 MB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.059e-05/0.9469, allocations: 109.1 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.947, allocations: 101.8 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.9471, allocations: 25.7 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.9471, allocations: 84.83 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.9472, allocations: 79.3 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/0.9473, allocations: 37.7 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.9475, allocations: 326.8 kB / 1.174 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.9476, allocations: 79.98 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.9477, allocations: 95.84 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.9481, allocations: 344.4 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9481, allocations: 0 / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000425/0.9485, allocations: 348.1 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.9486, allocations: 85.58 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9486, allocations: 0 / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.9487, allocations: 0 / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.9487, allocations: 4 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.9487, allocations: 0 / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.9489, allocations: 15.89 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.9489, allocations: 8 kB / 1.174 GB, free: 12.22 MB / 0.9044 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.0003046/0.9492, allocations: 265.7 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.9493, allocations: 27.83 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.9493, allocations: 17.16 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.9493, allocations: 4 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9493, allocations: 0 / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.9493, allocations: 0 / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.9496, allocations: 249.4 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.9496, allocations: 0 / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-06/0.9496, allocations: 0 / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.9496, allocations: 7.875 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.9496, allocations: 11.98 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9496, allocations: 0 / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9496, allocations: 0 / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.9512, allocations: 1.283 MB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.043e-05/0.9513, allocations: 96.94 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.9514, allocations: 71.89 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.9515, allocations: 8 kB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.9515, allocations: 11.98 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.9516, allocations: 8 kB / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.9516, allocations: 87.27 kB / 1.177 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.415e-06/0.9516, allocations: 4.031 kB / 1.177 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003162/0.952, allocations: 71.88 kB / 1.177 GB, free: 9.902 MB / 0.9044 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.0005591/0.9525, allocations: 254.3 kB / 1.177 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002114/0.9546, allocations: 1.964 MB / 1.179 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9547, allocations: 0 / 1.179 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001913/0.9566, allocations: 2.015 MB / 1.181 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.9568, allocations: 20.12 kB / 1.181 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/0.9575, allocations: 331.1 kB / 1.181 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.9579, allocations: 0.7127 MB / 1.182 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.605e-05/0.958, allocations: 0 / 1.182 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.958, allocations: 7.438 kB / 1.182 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of SimCode: time 2.565e-06/0.958, allocations: 8 kB / 1.182 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of Templates: time 0.006566/0.9646, allocations: 2.624 MB / 1.184 GB, free: 1.91 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches