Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_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_9_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.00144/0.001445, allocations: 109.1 kB / 16.41 MB, free: 6.488 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.00171/0.00171, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.15 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.263/2.263, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 71.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.776/0.7775, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002593/0.7802, allocations: 1.604 MB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.7815, allocations: 0.7653 MB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.7815, allocations: 1.062 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.7816, allocations: 12.95 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.277e-05/0.7817, allocations: 20.8 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005844/0.7823, allocations: 144.6 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.7824, allocations: 140.2 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/0.7825, allocations: 26.62 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.7827, allocations: 58.86 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.7828, allocations: 69.58 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.7828, allocations: 12.62 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.783, allocations: 103.4 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.7831, allocations: 33.33 kB / 1.092 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/0.7831, allocations: 52.36 kB / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.7834, allocations: 194.6 kB / 1.092 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7834, allocations: 0 / 1.092 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7835, allocations: 8.781 kB / 1.092 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.7835, allocations: 3.938 kB / 1.092 GB, free: 3.516 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006749/0.7841, allocations: 482.6 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.7842, allocations: 9.188 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.7842, allocations: 10.52 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.276e-05/0.7843, allocations: 186 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.7844, allocations: 8.562 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.7844, allocations: 8.781 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.7847, allocations: 101.5 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.7847, allocations: 0 / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.7847, allocations: 5.234 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.7847, allocations: 0.9375 kB / 1.093 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.7849, allocations: 62.41 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/0.7857, allocations: 381.2 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.7859, allocations: 66.83 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.7861, allocations: 56.58 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.7861, allocations: 0.875 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.7863, allocations: 106.7 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.7863, allocations: 0 / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005999/0.787, allocations: 217.4 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.787, allocations: 54.44 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.7871, allocations: 144.7 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.7871, allocations: 35.45 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.7872, allocations: 94.91 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.7872, allocations: 20.5 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-05/0.7873, allocations: 32.91 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.7873, allocations: 324.7 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.7875, allocations: 37.27 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.7876, allocations: 75.88 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.7878, allocations: 112.6 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7878, allocations: 0 / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003341/0.7882, allocations: 156 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.7882, allocations: 9.938 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.7882, allocations: 2.141 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.7882, allocations: 1.688 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.7884, allocations: 21.11 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.7884, allocations: 6.844 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.7885, allocations: 23.84 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.7886, allocations: 5.125 kB / 1.094 GB, free: 1.301 MB / 0.8575 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 8.613e-05/0.7887, allocations: 117.9 kB / 1.095 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.7887, allocations: 13.27 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.7887, allocations: 12.59 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7887, allocations: 0.75 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7888, allocations: 4.594 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.7888, allocations: 1.312 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.7893, allocations: 460 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7894, allocations: 0.5625 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-05/0.7894, allocations: 12.8 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7894, allocations: 5.672 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.7895, allocations: 6.5 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.7895, allocations: 5.594 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7895, allocations: 0 / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.7899, allocations: 272.3 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.7899, allocations: 92.5 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.7899, allocations: 1.906 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.7901, allocations: 6.531 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.7901, allocations: 10.42 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.7902, allocations: 5.234 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.098e-05/0.7902, allocations: 111.6 kB / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7902, allocations: 0 / 1.096 GB, free: 412 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003778/0.7906, allocations: 45.55 kB / 1.096 GB, free: 404 kB / 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: 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.0003305/0.791, allocations: 167.8 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.7913, allocations: 114.6 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7913, allocations: 0 / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.7915, allocations: 55.11 kB / 1.096 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.7918, allocations: 15.81 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.7923, allocations: 251.2 kB / 1.096 GB, free: 24 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.7925, allocations: 0.6991 MB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.7926, allocations: 18.62 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.7926, allocations: 0 / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.004569/0.7972, allocations: 2.057 MB / 1.099 GB, free: 15.12 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches