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.001532/0.001532, allocations: 114.3 kB / 16.42 MB, free: 6.461 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.001721/0.001721, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.46/2.46, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 71.89 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7236/0.7249, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002307/0.7273, allocations: 1.33 MB / 1.169 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007229/0.728, allocations: 357.4 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.7281, allocations: 0 / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.096e-05/0.7282, allocations: 3.938 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.077e-05/0.7282, allocations: 4 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.7286, allocations: 95.7 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.7287, allocations: 51.91 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.301e-05/0.7288, allocations: 4 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.438e-05/0.7288, allocations: 23.92 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.7289, allocations: 23.97 kB / 1.169 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.7289, allocations: 4 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.729, allocations: 83.84 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.7291, allocations: 27.86 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.7292, allocations: 43.75 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.7294, allocations: 159.5 kB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7294, allocations: 0 / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7294, allocations: 0 / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.7294, allocations: 0 / 1.169 GB, free: 1.691 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.0004985/0.7299, allocations: 0.5199 MB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.73, allocations: 8.922 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.845e-05/0.7301, allocations: 16.84 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.7302, allocations: 176.2 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.7302, allocations: 4.375 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.7302, allocations: 384 / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.7305, allocations: 251.7 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.7305, allocations: 192 / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.7305, allocations: 7.938 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.7306, allocations: 0 / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.7307, allocations: 148 kB / 1.171 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.7309, allocations: 193.5 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/0.7313, allocations: 0.5337 MB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.7317, allocations: 0.5204 MB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.7317, allocations: 3.938 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004082/0.7321, allocations: 407.7 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=39): time 1.743e-06/0.7321, allocations: 0 / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39): time 0.000774/0.7329, allocations: 0.6825 MB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.733, allocations: 105.1 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.733, allocations: 101.8 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.7331, allocations: 29.7 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.7331, allocations: 80.8 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.509e-05/0.7332, allocations: 78.86 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.7332, allocations: 29.7 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.7334, allocations: 330.9 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.573e-05/0.7335, allocations: 79.97 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/0.7336, allocations: 87.92 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.7339, allocations: 348.4 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7339, allocations: 0 / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004413/0.7343, allocations: 344 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.7344, allocations: 73.66 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.7345, allocations: 7.922 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.7345, allocations: 0 / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.7345, allocations: 4.062 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.7346, allocations: 3.938 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.7347, allocations: 25.58 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.7347, allocations: 8 kB / 1.174 GB, free: 12.27 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.0002998/0.735, allocations: 265.7 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.7351, allocations: 19.91 kB / 1.175 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.588e-05/0.7351, allocations: 9.156 kB / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7351, allocations: 192 / 1.175 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.7351, allocations: 7.922 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.7352, allocations: 96.91 kB / 1.175 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.797e-05/0.7353, allocations: 71.95 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.7354, allocations: 11.94 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.7354, allocations: 11.98 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001624/0.737, allocations: 2.017 MB / 1.177 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001276/0.7383, allocations: 1.425 MB / 1.178 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008536/0.7392, allocations: 1.285 MB / 1.18 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.162e-05/0.7392, allocations: 79.34 kB / 1.18 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of Backend: time 4.51e-07/0.7392, allocations: 0 / 1.18 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.741, allocations: 1.897 MB / 1.181 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001028/0.742, allocations: 1.401 MB / 1.183 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.00512/0.7472, allocations: 2.658 MB / 1.185 GB, free: 0.8672 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 -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