Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 107.7 kB / 16.27 MB, free: 6.414 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.001843/0.001843, allocations: 190.9 kB / 17.2 MB, free: 5.953 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001896, allocations: 66.73 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7488, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.00258/0.7514, allocations: 1.499 MB / 1.084 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.7527, allocations: 0.7352 MB / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.7527, allocations: 0 / 1.085 GB, free: 112 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.09e-05/0.7528, allocations: 4.5 kB / 1.085 GB, free: 108 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.7528, allocations: 11.05 kB / 1.085 GB, free: 100 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.7533, allocations: 121.9 kB / 1.085 GB, free: 40 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.7534, allocations: 79.88 kB / 1.085 GB, free: 16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.7535, allocations: 19.47 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/0.7536, allocations: 30.69 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.831e-05/0.7537, allocations: 45.62 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.7537, allocations: 6.875 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.754, allocations: 97.83 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.754, allocations: 15.05 kB / 1.086 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.7541, allocations: 32.02 kB / 1.086 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.7543, allocations: 138.7 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7543, allocations: 0.6562 kB / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7543, allocations: 0 / 1.086 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.7543, allocations: 4.656 kB / 1.086 GB, free: 15.84 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006842/0.755, allocations: 415.3 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.7551, allocations: 8.969 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.7551, allocations: 8.344 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.7553, allocations: 178.9 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.7553, allocations: 2.719 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.7553, allocations: 12.48 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.7555, allocations: 72.75 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.7556, allocations: 4 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.7556, allocations: 5.344 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7556, allocations: 0.7188 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.7557, allocations: 35.88 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006368/0.7564, allocations: 319 kB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.7565, allocations: 48.91 kB / 1.087 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.843e-05/0.7566, allocations: 32.64 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.7566, allocations: 1.406 kB / 1.087 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.7568, allocations: 77.2 kB / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.7569, allocations: 8.469 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004178/0.7573, allocations: 141.9 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.7573, allocations: 53.78 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.7574, allocations: 122.1 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.7575, allocations: 32.05 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.7575, allocations: 88.39 kB / 1.087 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.7576, allocations: 14.77 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.7576, allocations: 34.53 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.7578, allocations: 319.6 kB / 1.088 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.902e-05/0.7579, allocations: 26.14 kB / 1.088 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.758, allocations: 46.64 kB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.7582, allocations: 79.91 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7582, allocations: 0.5312 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002649/0.7585, allocations: 112.8 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.7585, allocations: 6.438 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.7585, allocations: 0.75 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.7585, allocations: 1.719 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.7586, allocations: 10.97 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.7587, allocations: 1.562 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.7587, allocations: 13.3 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.7588, allocations: 7.969 kB / 1.088 GB, free: 13.86 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001137/0.7589, allocations: 122.9 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.7589, allocations: 7.375 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.7589, allocations: 11.05 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7589, allocations: 1.25 kB / 1.088 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.759, allocations: 9.891 kB / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.759, allocations: 0 / 1.088 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.7595, allocations: 382.7 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.7595, allocations: 0.9688 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.7595, allocations: 4.938 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.7595, allocations: 1.094 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.7596, allocations: 2.406 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7596, allocations: 0 / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.7596, allocations: 5.125 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.7599, allocations: 220.1 kB / 1.089 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.76, allocations: 82.48 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.76, allocations: 5.578 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.7601, allocations: 5.219 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.7601, allocations: 12.73 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.7602, allocations: 3.875 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.7602, allocations: 91.89 kB / 1.089 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7602, allocations: 7.938 kB / 1.089 GB, free: 13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000303/0.7605, allocations: 38.16 kB / 1.089 GB, free: 13 MB / 0.8419 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003937/0.7609, allocations: 156.1 kB / 1.089 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.7612, allocations: 80.38 kB / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7612, allocations: 0 / 1.089 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.7613, allocations: 37.61 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.7616, allocations: 8.438 kB / 1.089 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.762, allocations: 205.3 kB / 1.089 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.7624, allocations: 0.6859 MB / 1.09 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.438e-05/0.7624, allocations: 23.94 kB / 1.09 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.7624, allocations: 0 / 1.09 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.004326/0.7667, allocations: 1.613 MB / 1.092 GB, free: 11.81 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches