Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 103.9 kB / 16.4 MB, free: 6.469 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.0018/0.0018, allocations: 189.7 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.601/2.601, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 71.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7487/0.7501, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002429/0.7525, allocations: 1.606 MB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.7538, allocations: 0.7712 MB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.7539, allocations: 4 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.7539, allocations: 7.875 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-05/0.754, allocations: 19.78 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.7545, allocations: 151.5 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.7547, allocations: 139.6 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.893e-05/0.7548, allocations: 16 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.7549, allocations: 59.81 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.715e-05/0.755, allocations: 67.8 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.755, allocations: 12 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.7552, allocations: 103.8 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.436e-05/0.7553, allocations: 31.89 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.138e-05/0.7553, allocations: 55.7 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.7556, allocations: 195.2 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7556, allocations: 4 kB / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7556, allocations: 0 / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.7556, allocations: 0 / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006766/0.7563, allocations: 480.4 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.7564, allocations: 12.03 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.7564, allocations: 8.844 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.7565, allocations: 188.6 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.7566, allocations: 384 / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.7566, allocations: 20.12 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.7568, allocations: 93.56 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.7569, allocations: 0 / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.7569, allocations: 3.984 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.7569, allocations: 4 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.7571, allocations: 59.95 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008192/0.7579, allocations: 380.5 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.7581, allocations: 66.55 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.7582, allocations: 52.83 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.7582, allocations: 0 / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.7585, allocations: 115.2 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.7585, allocations: 0 / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0005441/0.759, allocations: 209.4 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.7591, allocations: 55.41 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.7592, allocations: 152.2 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.7592, allocations: 29.7 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.7593, allocations: 100.3 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.7593, allocations: 19.94 kB / 1.214 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.828e-05/0.7594, allocations: 33.7 kB / 1.214 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.7595, allocations: 322.8 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.7596, allocations: 43.97 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.7598, allocations: 76.27 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.76, allocations: 104.2 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.76, allocations: 4 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003278/0.7603, allocations: 153.4 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.7604, allocations: 8.109 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.7604, allocations: 3.938 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.7604, allocations: 4 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.7605, allocations: 23.92 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.7606, allocations: 3.938 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.7607, allocations: 23.92 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.7607, allocations: 4 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001002/0.7608, allocations: 121.8 kB / 1.214 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.7608, allocations: 11.89 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.7609, allocations: 8.781 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.7609, allocations: 8.047 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7609, allocations: 7.922 kB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7609, allocations: 4 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.7615, allocations: 458.6 kB / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.7615, allocations: 96 / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.182e-05/0.7616, allocations: 15.92 kB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.7616, allocations: 3.938 kB / 1.215 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.7616, allocations: 4 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7616, allocations: 0 / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7616, allocations: 0 / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004078/0.762, allocations: 271.3 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.7621, allocations: 88.89 kB / 1.215 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.7621, allocations: 8 kB / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.7623, allocations: 7.984 kB / 1.215 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.7623, allocations: 7.984 kB / 1.215 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.7623, allocations: 0 / 1.215 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.274e-05/0.7624, allocations: 111.2 kB / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7624, allocations: 0 / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003158/0.7627, allocations: 44 kB / 1.215 GB, free: 6.07 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003643/0.7631, allocations: 161.7 kB / 1.216 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003337/0.7635, allocations: 119.8 kB / 1.216 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7635, allocations: 0 / 1.216 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.7636, allocations: 55.97 kB / 1.216 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.7639, allocations: 17.98 kB / 1.216 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.7644, allocations: 267.5 kB / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.7647, allocations: 0.6924 MB / 1.217 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.7648, allocations: 19.42 kB / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.7648, allocations: 0 / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of Templates: time 0.004054/0.7688, allocations: 2.05 MB / 1.219 GB, free: 2.652 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches