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.007292/0.007292, allocations: 101.3 kB / 15.73 MB, free: 6.066 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.001705/0.001705, allocations: 196.6 kB / 16.68 MB, free: 5.973 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.462/1.462, allocations: 222.9 MB / 240.3 MB, free: 15.1 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.489/2.489, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 71.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8641/0.8654, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002736/0.8682, allocations: 1.638 MB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.8695, allocations: 0.7945 MB / 1.169 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.8696, allocations: 4 kB / 1.169 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.8697, allocations: 11.86 kB / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.8697, allocations: 19.8 kB / 1.169 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.8704, allocations: 163.5 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.8706, allocations: 151.6 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.8707, allocations: 17.11 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.8708, allocations: 71.75 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.8709, allocations: 75.73 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.871, allocations: 16 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.8712, allocations: 107.8 kB / 1.17 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.8712, allocations: 35.88 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.756e-05/0.8713, allocations: 55.72 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.8716, allocations: 207.9 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8716, allocations: 0 / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8716, allocations: 0 / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.8716, allocations: 0 / 1.17 GB, free: 0.5195 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008128/0.8725, allocations: 0.5483 MB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.8725, allocations: 12.92 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.8726, allocations: 12.89 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.8727, allocations: 193 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.8727, allocations: 384 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.8728, allocations: 12.38 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.8732, allocations: 141.9 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.8732, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.8732, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.8733, allocations: 4 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.8737, allocations: 103.9 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.8744, allocations: 384.6 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.8748, allocations: 102.5 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.8751, allocations: 84.78 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.8751, allocations: 4 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004393/0.8756, allocations: 147.3 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.8756, allocations: 3.938 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.001133/0.8767, allocations: 309.3 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.8768, allocations: 55.41 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.8769, allocations: 144.9 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.8769, allocations: 29.7 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.877, allocations: 112.3 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.877, allocations: 23.94 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.8771, allocations: 33.7 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.8772, allocations: 322.8 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.8773, allocations: 39.97 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.8775, allocations: 85.11 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.8777, allocations: 121 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8778, allocations: 0 / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003438/0.8781, allocations: 157.5 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.8781, allocations: 4 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.8781, allocations: 4 kB / 1.173 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.8782, allocations: 4.109 kB / 1.173 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.8783, allocations: 23.98 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.8783, allocations: 0 / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.8784, allocations: 19.88 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.8785, allocations: 4 kB / 1.173 GB, free: 13.04 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 9.788e-05/0.8786, allocations: 130.7 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.8786, allocations: 7.953 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.8786, allocations: 16.7 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.8786, allocations: 4 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8786, allocations: 0 / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.8787, allocations: 0 / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.8797, allocations: 0.5298 MB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8797, allocations: 4 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-05/0.8798, allocations: 11.98 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.8798, allocations: 4 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.8798, allocations: 0 / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.8798, allocations: 7.922 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8798, allocations: 0 / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/0.8806, allocations: 327.3 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.8807, allocations: 85.06 kB / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.8807, allocations: 7.922 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.8809, allocations: 27.91 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.881, allocations: 12.08 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.881, allocations: 4 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.764e-05/0.8811, allocations: 114 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8811, allocations: 0 / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003395/0.8815, allocations: 51.83 kB / 1.174 GB, free: 11.62 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.0003579/0.8818, allocations: 174.1 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005442/0.8824, allocations: 147.9 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.8824, allocations: 0 / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.8827, allocations: 87.86 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.883, allocations: 8.75 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.8837, allocations: 268.2 kB / 1.175 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.884, allocations: 0.704 MB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.468e-05/0.8841, allocations: 11.98 kB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.8841, allocations: 11.44 kB / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8841, allocations: 0 / 1.176 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of Templates: time 0.00481/0.8889, allocations: 2.021 MB / 1.178 GB, free: 8.168 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 -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/jenkins/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