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.001722/0.001722, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001951/0.001951, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.838/2.838, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 65.27 kB / 0.8986 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3259, allocations: 157.4 MB / 1.052 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003057/0.329, allocations: 1.649 MB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3304, allocations: 0.7828 MB / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.054e-05/0.3305, allocations: 0 / 1.055 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/0.3305, allocations: 7.938 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.92e-05/0.3306, allocations: 15.84 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007682/0.3314, allocations: 127.7 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.3316, allocations: 135.6 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3318, allocations: 23.97 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.3319, allocations: 63.77 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.3321, allocations: 67.78 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.3321, allocations: 12 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.3324, allocations: 99.91 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.3325, allocations: 27.91 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.134e-05/0.3326, allocations: 67.64 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.333, allocations: 187.8 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.333, allocations: 0 / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.333, allocations: 0 / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.333, allocations: 0 / 1.055 GB, free: 5.422 MB / 0.8106 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.001026/0.3341, allocations: 487.8 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.3341, allocations: 12.62 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.35e-05/0.3342, allocations: 12.84 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.3344, allocations: 188.7 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.3345, allocations: 384 / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.3345, allocations: 20.11 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.3349, allocations: 97.5 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3349, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.335, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.335, allocations: 4 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.3353, allocations: 59.95 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.3365, allocations: 376.6 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.3368, allocations: 70.48 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.337, allocations: 52.83 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.337, allocations: 4 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004261/0.3375, allocations: 103.4 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.3375, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0009417/0.3384, allocations: 209.5 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.3385, allocations: 63.38 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.3387, allocations: 147.5 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.3388, allocations: 29.7 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.3389, allocations: 100.4 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.3389, allocations: 23.66 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-05/0.339, allocations: 33.64 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3392, allocations: 322.8 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.3394, allocations: 43.97 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.3396, allocations: 75.52 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.3399, allocations: 116.2 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3399, allocations: 0 / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005007/0.3405, allocations: 153.4 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.3405, allocations: 5.672 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3405, allocations: 7.922 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/0.3406, allocations: 8.094 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.3408, allocations: 19.98 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.3408, allocations: 3.938 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.341, allocations: 11.91 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.341, allocations: 7.984 kB / 1.058 GB, free: 2.348 MB / 0.8106 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.0001765/0.3412, allocations: 127.3 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.3412, allocations: 7.906 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.3413, allocations: 12.72 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3413, allocations: 4 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.3413, allocations: 7.922 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3413, allocations: 0 / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009133/0.3423, allocations: 462.7 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3423, allocations: 4 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.19e-05/0.3424, allocations: 4 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3424, allocations: 7.938 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.3424, allocations: 7.984 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3424, allocations: 0 / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3424, allocations: 0 / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/0.3431, allocations: 267.2 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.3432, allocations: 88.94 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.3432, allocations: 8 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.3434, allocations: 8 kB / 1.059 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.3435, allocations: 11.92 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.3435, allocations: 3.984 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000102/0.3436, allocations: 105.5 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3437, allocations: 0 / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005767/0.3442, allocations: 51.98 kB / 1.059 GB, free: 1.086 MB / 0.8106 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.0005059/0.3448, allocations: 168.9 kB / 1.059 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004849/0.3452, allocations: 111.9 kB / 1.06 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3453, allocations: 0 / 1.06 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.3455, allocations: 63.89 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.3459, allocations: 20.11 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006789/0.3466, allocations: 247.7 kB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.347, allocations: 0.7002 MB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.383e-05/0.3471, allocations: 4 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.3471, allocations: 11.44 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.3472, allocations: 4 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of Templates: time 0.006543/0.3537, allocations: 1.897 MB / 1.062 GB, free: 13.84 MB / 0.8262 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/jenkins/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