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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001433/0.001433, allocations: 103 kB / 16.36 MB, free: 6.336 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.001627/0.001627, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.447/2.447, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 66.78 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2673, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002219/0.2696, allocations: 1.344 MB / 1.028 GB, free: 0.6953 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006686/0.2703, allocations: 358.8 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.2703, allocations: 0 / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.117e-05/0.2704, allocations: 3.938 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 1.794e-05/0.2704, allocations: 3.938 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.2708, allocations: 99.75 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.31e-05/0.2708, allocations: 51.86 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 2.781e-05/0.2709, allocations: 4 kB / 1.029 GB, free: 188 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.2709, allocations: 19.92 kB / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.271, allocations: 27.89 kB / 1.029 GB, free: 140 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.271, allocations: 8 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.2711, allocations: 79.92 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.625e-05/0.2712, allocations: 23.92 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.2712, allocations: 47.78 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.2714, allocations: 159.4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2714, allocations: 0 / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2714, allocations: 0 / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.257e-06/0.2714, allocations: 0 / 1.029 GB, free: 15.82 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.0003953/0.2718, allocations: 0.5162 MB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.2719, allocations: 12.03 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.492e-05/0.272, allocations: 16.83 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.493e-05/0.2721, allocations: 172.3 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2721, allocations: 384 / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.2721, allocations: 4.375 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.2724, allocations: 246.2 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-06/0.2724, allocations: 192 / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2724, allocations: 7.938 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-06/0.2724, allocations: 0 / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.2725, allocations: 144 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.2727, allocations: 197.4 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.273, allocations: 0.534 MB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.2734, allocations: 0.5207 MB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.2734, allocations: 3.984 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003537/0.2738, allocations: 399.5 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=39): time 1.303e-06/0.2738, allocations: 4 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39): time 0.0006714/0.2745, allocations: 0.6892 MB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.2745, allocations: 109.1 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.2746, allocations: 101.8 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.2746, allocations: 29.7 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.2746, allocations: 84.8 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.486e-05/0.2747, allocations: 71.06 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.2748, allocations: 33.69 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.2749, allocations: 330.9 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.2749, allocations: 79.92 kB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/0.275, allocations: 88.95 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.2753, allocations: 352.4 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2753, allocations: 0 / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003179/0.2756, allocations: 344 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.2757, allocations: 81.58 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.2757, allocations: 0 / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.2757, allocations: 0 / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.646e-05/0.2758, allocations: 4 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.2758, allocations: 4.062 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.2759, allocations: 23.78 kB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.2759, allocations: 4 kB / 1.034 GB, free: 10.39 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.0002184/0.2761, allocations: 273.7 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.2762, allocations: 27.75 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.404e-06/0.2762, allocations: 5.219 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2762, allocations: 0 / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2762, allocations: 0 / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2762, allocations: 0 / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.2764, allocations: 249.3 kB / 1.034 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2764, allocations: 4 kB / 1.034 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.2764, allocations: 0 / 1.034 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2764, allocations: 3.938 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.2764, allocations: 15.98 kB / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2764, allocations: 4 kB / 1.034 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2764, allocations: 0 / 1.034 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.2775, allocations: 1.275 MB / 1.036 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.2776, allocations: 92.86 kB / 1.036 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.2777, allocations: 79.92 kB / 1.036 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.2778, allocations: 8 kB / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.2778, allocations: 11.98 kB / 1.036 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.2778, allocations: 12 kB / 1.036 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.904e-05/0.2778, allocations: 79.27 kB / 1.036 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2779, allocations: 7.938 kB / 1.036 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002741/0.2781, allocations: 68 kB / 1.036 GB, free: 8.09 MB / 0.8106 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.0003469/0.2785, allocations: 240.6 kB / 1.036 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.2799, allocations: 1.971 MB / 1.038 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2799, allocations: 0 / 1.038 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.2812, allocations: 2.011 MB / 1.04 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.2814, allocations: 16 kB / 1.04 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.2819, allocations: 339.5 kB / 1.04 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.2821, allocations: 0.7166 MB / 1.041 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.414e-05/0.2821, allocations: 7.984 kB / 1.041 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.758e-06/0.2822, allocations: 7.438 kB / 1.041 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.2822, allocations: 0 / 1.041 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of Templates: time 0.004785/0.287, allocations: 2.642 MB / 1.044 GB, free: 84 kB / 0.8106 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 -s gbode -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/jenkins1/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