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.001699/0.001699, allocations: 105.5 kB / 16.41 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.002058/0.002058, allocations: 187 kB / 17.34 MB, free: 5.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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.09 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.378/2.378, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 59.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.7516, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002952/0.7546, allocations: 1.634 MB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.7561, allocations: 0.7985 MB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.913e-05/0.7562, allocations: 0 / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.346e-05/0.7563, allocations: 11.86 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.783e-05/0.7564, allocations: 19.8 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.7571, allocations: 155.5 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.7573, allocations: 147.6 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.7574, allocations: 37.03 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.7576, allocations: 63.83 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.7577, allocations: 75.72 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.7577, allocations: 15.94 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.758, allocations: 103.8 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.758, allocations: 39.89 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.79e-05/0.7581, allocations: 63.7 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.7584, allocations: 203.2 kB / 1.171 GB, free: 488 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7584, allocations: 0 / 1.171 GB, free: 488 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7584, allocations: 0 / 1.171 GB, free: 488 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.7584, allocations: 0 / 1.171 GB, free: 488 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.0008542/0.7593, allocations: 0.5388 MB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.7594, allocations: 12.61 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.7594, allocations: 16.75 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.7596, allocations: 188 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.7596, allocations: 8.375 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.7597, allocations: 4.375 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.7601, allocations: 137.9 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7601, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.7601, allocations: 8 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7602, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.7606, allocations: 103.9 kB / 1.172 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.7614, allocations: 380.5 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.7617, allocations: 98.5 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.762, allocations: 88.78 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.7621, allocations: 112 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004284/0.7625, allocations: 151.2 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.7625, allocations: 0 / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.001065/0.7636, allocations: 305.3 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.7636, allocations: 51.41 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.7638, allocations: 157.6 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.7638, allocations: 25.7 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.7639, allocations: 100.4 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.7639, allocations: 23.66 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.764, allocations: 37.64 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.7641, allocations: 326.8 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.7642, allocations: 43.97 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.7644, allocations: 69.12 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.7647, allocations: 133 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7647, allocations: 0 / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003482/0.765, allocations: 157.4 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.7651, allocations: 8 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7651, allocations: 0 / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.7651, allocations: 4 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.7652, allocations: 19.97 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.7653, allocations: 4 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.7654, allocations: 27.95 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.7654, allocations: 4 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.0001088/0.7655, allocations: 126.8 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.7656, allocations: 7.906 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.7656, allocations: 16.7 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.7656, allocations: 0 / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7656, allocations: 4 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7656, allocations: 4 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009766/0.7666, allocations: 0.5217 MB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7666, allocations: 4 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.7667, allocations: 15.98 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.7667, allocations: 0 / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.7668, allocations: 4 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.7668, allocations: 7.938 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7668, allocations: 0 / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007408/0.7675, allocations: 323.2 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.7676, allocations: 93.08 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.7676, allocations: 7.984 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.7678, allocations: 31.84 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.7679, allocations: 7.938 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.7679, allocations: 11.98 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.413e-05/0.768, allocations: 109.9 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.768, allocations: 0 / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000362/0.7684, allocations: 44 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.0003876/0.7688, allocations: 169.6 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004962/0.7693, allocations: 143.9 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7693, allocations: 256 / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.7696, allocations: 95.86 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.7699, allocations: 5.312 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007289/0.7706, allocations: 303 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.7709, allocations: 0.7002 MB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.771, allocations: 15.42 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.771, allocations: 0 / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of Templates: time 0.004305/0.7753, allocations: 2.14 MB / 1.178 GB, free: 7.992 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/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