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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001511/0.001511, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001813/0.001813, allocations: 196.2 kB / 16.14 MB, free: 6.719 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.86/2.86, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 62.36 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3555, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002433/0.358, allocations: 1.385 MB / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008947/0.3589, allocations: 386.9 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.359, allocations: 0 / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.119e-05/0.3591, allocations: 0 / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.767e-05/0.3591, allocations: 3.938 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.3596, allocations: 79.84 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.172e-05/0.3597, allocations: 47.84 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.3598, allocations: 4 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.3598, allocations: 12 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.3599, allocations: 23.89 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3599, allocations: 7.938 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.3601, allocations: 71.92 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.819e-05/0.3602, allocations: 19.92 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.32e-05/0.3602, allocations: 55.67 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.3605, allocations: 155.6 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3605, allocations: 0 / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3605, allocations: 0 / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.3605, allocations: 0 / 1.054 GB, free: 6.621 MB / 0.8106 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.0005499/0.3611, allocations: 0.5125 MB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3611, allocations: 11.97 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.3612, allocations: 16.83 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3613, allocations: 172.3 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3614, allocations: 4.375 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3614, allocations: 384 / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.3616, allocations: 250.2 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.3617, allocations: 192 / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.3617, allocations: 7.938 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3617, allocations: 0 / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.3619, allocations: 147.9 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.3622, allocations: 189.5 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.3626, allocations: 0.534 MB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.363, allocations: 0.5323 MB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.363, allocations: 4 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/0.3634, allocations: 391.7 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.3634, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39): time 0.0008031/0.3642, allocations: 0.6967 MB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.3643, allocations: 101.1 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.414e-05/0.3644, allocations: 97.86 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3644, allocations: 29.7 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.3644, allocations: 84.83 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.3645, allocations: 78.94 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.3646, allocations: 37.69 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3647, allocations: 322.8 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.3648, allocations: 79.98 kB / 1.058 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.96e-05/0.3649, allocations: 83.97 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.3652, allocations: 357.3 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3652, allocations: 0 / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003372/0.3655, allocations: 340 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-05/0.3656, allocations: 86.83 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3656, allocations: 0 / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3657, allocations: 0 / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.3657, allocations: 4 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.3657, allocations: 0 / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.3658, allocations: 23.78 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.3659, allocations: 4 kB / 1.059 GB, free: 1.203 MB / 0.8106 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.0002756/0.3661, allocations: 271.2 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.3662, allocations: 27.75 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.332e-05/0.3662, allocations: 9.219 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3662, allocations: 0 / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3662, allocations: 0 / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3662, allocations: 0 / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.3664, allocations: 253.3 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3665, allocations: 0 / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.3665, allocations: 0 / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3665, allocations: 3.938 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.3665, allocations: 15.98 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.3665, allocations: 0 / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3665, allocations: 4 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3679, allocations: 1.283 MB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.3679, allocations: 96.84 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.368, allocations: 79.89 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3681, allocations: 8 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.3682, allocations: 7.984 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.3682, allocations: 12 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.3683, allocations: 91.3 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3683, allocations: 0 / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003201/0.3686, allocations: 68 kB / 1.061 GB, free: 14.88 MB / 0.8262 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.0004794/0.3691, allocations: 245.1 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001689/0.3708, allocations: 1.964 MB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3708, allocations: 0 / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.3723, allocations: 2.014 MB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.3726, allocations: 26.19 kB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005616/0.3731, allocations: 353.4 kB / 1.066 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.3736, allocations: 0.713 MB / 1.067 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.754e-05/0.3737, allocations: 0 / 1.067 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.26e-05/0.3737, allocations: 7.438 kB / 1.067 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of SimCode: time 7.01e-07/0.3737, allocations: 0 / 1.067 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.005798/0.3795, allocations: 2.426 MB / 1.069 GB, free: 7.082 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (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 & ./Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches