Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001856/0.001856, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.16 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.752/2.752, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 59.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9606/0.9625, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003399/0.966, allocations: 1.64 MB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.9678, allocations: 0.7946 MB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.9679, allocations: 3.938 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.686e-05/0.968, allocations: 11.86 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.417e-05/0.9681, allocations: 19.8 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007024/0.9688, allocations: 155.6 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.969, allocations: 155.5 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.9692, allocations: 25.11 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.9693, allocations: 67.77 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.9696, allocations: 79.72 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.9697, allocations: 12 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.9699, allocations: 99.91 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.256e-05/0.9699, allocations: 31.89 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.97, allocations: 67.7 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.9704, allocations: 211.8 kB / 1.171 GB, free: 496 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.9704, allocations: 0 / 1.171 GB, free: 496 kB / 0.8887 GB Notification: Performance of FrontEnd: time 4.739e-06/0.9704, allocations: 3.984 kB / 1.171 GB, free: 492 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.9704, allocations: 0 / 1.171 GB, free: 492 kB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000933/0.9714, allocations: 0.5405 MB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.9714, allocations: 8.031 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.9715, allocations: 20.89 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.9717, allocations: 190.7 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.9717, allocations: 4.375 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.9717, allocations: 16.3 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/0.9722, allocations: 133.9 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.9722, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.9723, allocations: 7.938 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.9723, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.9727, allocations: 103.9 kB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009778/0.9737, allocations: 388.5 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.9741, allocations: 90.52 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.9744, allocations: 92.78 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.9745, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006363/0.9751, allocations: 143.4 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 3.577e-06/0.9751, allocations: 3.938 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.001175/0.9763, allocations: 305.3 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.9764, allocations: 63.34 kB / 1.173 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.9766, allocations: 142.5 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.9766, allocations: 29.7 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.9767, allocations: 104.3 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.9767, allocations: 23.8 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.9768, allocations: 33.7 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.9769, allocations: 326.8 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.9771, allocations: 39.97 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.9772, allocations: 77.11 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.9775, allocations: 125 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9776, allocations: 0 / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003932/0.978, allocations: 161.4 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.978, allocations: 8 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.978, allocations: 0 / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.978, allocations: 4 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.9782, allocations: 19.92 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.9782, allocations: 4 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.9783, allocations: 24 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.9783, allocations: 4.375 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001273/0.9785, allocations: 127.5 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.9785, allocations: 11.94 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.9785, allocations: 12.72 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.9786, allocations: 3.938 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.9786, allocations: 4 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.9786, allocations: 0 / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.9798, allocations: 0.5296 MB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.9798, allocations: 0 / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.724e-05/0.9799, allocations: 15.98 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.9799, allocations: 0 / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.98, allocations: 3.984 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.98, allocations: 7.938 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.98, allocations: 4 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.9808, allocations: 323.3 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.981, allocations: 89.05 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.981, allocations: 3.938 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.9812, allocations: 27.91 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.9813, allocations: 11.98 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.9813, allocations: 4 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.076e-05/0.9814, allocations: 109.9 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9814, allocations: 0 / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003502/0.9818, allocations: 51.83 kB / 1.175 GB, free: 11.59 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004282/0.9822, allocations: 181.1 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005686/0.9828, allocations: 139.8 kB / 1.175 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9828, allocations: 256 / 1.175 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.9832, allocations: 91.86 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.9835, allocations: 11.06 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.9842, allocations: 272 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.9846, allocations: 0.6963 MB / 1.176 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.355e-05/0.9847, allocations: 7.984 kB / 1.176 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.9847, allocations: 11.44 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.9848, allocations: 4 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.005814/0.9906, allocations: 2.033 MB / 1.178 GB, free: 8.125 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches