Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 106.3 kB / 16.41 MB, free: 6.41 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.001294/0.001294, allocations: 189.7 kB / 17.34 MB, free: 5.699 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.313/1.313, 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 9.1.3-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7649/0.7662, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002327/0.7686, allocations: 1.495 MB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.7698, allocations: 0.7323 MB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/0.7698, allocations: 1 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.7699, allocations: 4.734 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.7699, allocations: 10.38 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.7705, allocations: 121.3 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.7706, allocations: 86.28 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.7707, allocations: 7.031 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.555e-05/0.7708, allocations: 35.17 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.212e-05/0.7709, allocations: 43 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.7709, allocations: 6.625 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.7711, allocations: 97.61 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.03e-05/0.7711, allocations: 15.3 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.7712, allocations: 32.03 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.7715, allocations: 142 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.7715, allocations: 1.094 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7715, allocations: 0 / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7715, allocations: 0 / 1.091 GB, free: 3.719 MB / 0.8575 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.0005496/0.772, allocations: 429 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.7721, allocations: 9.062 kB / 1.092 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.7721, allocations: 8.844 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.541e-05/0.7722, allocations: 178.3 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.7722, allocations: 2.219 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.7723, allocations: 4.906 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.7724, allocations: 76.92 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.7725, allocations: 7.984 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.7725, allocations: 1.984 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.7725, allocations: 0 / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.7726, allocations: 36.66 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.7732, allocations: 313.1 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.7733, allocations: 54.22 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.7734, allocations: 31.55 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.7734, allocations: 1.297 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.7736, allocations: 80.73 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.7736, allocations: 0.75 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003868/0.774, allocations: 144.7 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.774, allocations: 54.45 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.7741, allocations: 123.3 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.7741, allocations: 30.55 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.7742, allocations: 92.16 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.7742, allocations: 12.09 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.7742, allocations: 29.69 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.7743, allocations: 323.5 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.7744, allocations: 31.03 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.277e-05/0.7745, allocations: 51.2 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.7747, allocations: 82.19 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7747, allocations: 0.9062 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002341/0.7749, allocations: 118.4 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.7749, allocations: 5.938 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.7749, allocations: 1 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.775, allocations: 1.422 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.7751, allocations: 12.91 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.7751, allocations: 1.156 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.7751, allocations: 21.88 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.7752, allocations: 3.766 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 6.907e-05/0.7752, allocations: 123.6 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.7753, allocations: 11.19 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.7753, allocations: 11.59 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.7753, allocations: 1.125 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.7753, allocations: 0.7969 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7753, allocations: 0 / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.7757, allocations: 379.3 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7757, allocations: 0 / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.075e-05/0.7758, allocations: 4.859 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7758, allocations: 1.156 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.7758, allocations: 6.156 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7758, allocations: 4.719 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.7758, allocations: 9.328 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.7761, allocations: 211.6 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.7761, allocations: 79.3 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.7761, allocations: 5.969 kB / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.7762, allocations: 8.078 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.7763, allocations: 9.031 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.7763, allocations: 3.594 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.759e-05/0.7763, allocations: 91.67 kB / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7763, allocations: 0 / 1.095 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003212/0.7767, allocations: 50.39 kB / 1.095 GB, free: 0.8438 MB / 0.8575 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,occ.y,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.0003312/0.777, allocations: 164.1 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.7773, allocations: 68.72 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7773, allocations: 5.094 kB / 1.095 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.722e-05/0.7774, allocations: 37.89 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.7776, allocations: 12.67 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.778, allocations: 207.8 kB / 1.095 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.7782, allocations: 0.6869 MB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.7782, allocations: 12.58 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.7782, allocations: 4.719 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of Templates: time 0.003844/0.7821, allocations: 1.614 MB / 1.097 GB, free: 15.65 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches