Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 249.3 MB / 261.8 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 186 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.1 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009787/0.0009788, allocations: 90.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.737e-05/3.738e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2323, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7708/1.003, allocations: 133.9 MB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003404/1.004, allocations: 76.7 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01182/1.015, allocations: 3.594 MB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.937e-06/1.015, allocations: 3.984 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.015, allocations: 4 kB / 1.026 GB, free: 13.62 MB / 0.6511 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.0006177/1.016, allocations: 471.7 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/1.016, allocations: 8.031 kB / 1.027 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/1.016, allocations: 11.91 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/1.016, allocations: 183.4 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/1.016, allocations: 6.812 kB / 1.027 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/1.016, allocations: 11.38 kB / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/1.017, allocations: 86.09 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/1.017, allocations: 0 / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/1.017, allocations: 0 / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/1.017, allocations: 0 / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.692e-05/1.017, allocations: 47.91 kB / 1.027 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008163/1.017, allocations: 378.8 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.619e-05/1.018, allocations: 52.95 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.318e-05/1.018, allocations: 45.84 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/1.018, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/1.018, allocations: 96.38 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/1.018, allocations: 0 / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003116/1.018, allocations: 146 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/1.018, allocations: 63.59 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/1.018, allocations: 138.8 kB / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/1.018, allocations: 29.27 kB / 1.028 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/1.018, allocations: 97.41 kB / 1.028 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/1.018, allocations: 19.48 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/1.018, allocations: 3.188 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.019, allocations: 326.2 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/1.019, allocations: 28.5 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/1.019, allocations: 61.03 kB / 1.028 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.531e-05/1.019, allocations: 33.55 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.019, allocations: 4 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002157/1.019, allocations: 132.7 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.019, allocations: 8 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.019, allocations: 0.7188 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/1.019, allocations: 3.938 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/1.019, allocations: 23.97 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/1.019, allocations: 11.89 kB / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/1.019, allocations: 19.91 kB / 1.029 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/1.019, allocations: 4 kB / 1.029 GB, free: 11.14 MB / 0.6511 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/1.02, allocations: 112.7 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/1.02, allocations: 7.906 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/1.02, allocations: 8.5 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.02, allocations: 4 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.02, allocations: 0 / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/1.02, allocations: 3.953 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/1.02, allocations: 449.1 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.02, allocations: 4 kB / 1.029 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/1.02, allocations: 11.94 kB / 1.029 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.02, allocations: 0 / 1.029 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/1.02, allocations: 3.984 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/1.02, allocations: 3.953 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.02, allocations: 0 / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/1.02, allocations: 248.3 kB / 1.029 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/1.021, allocations: 88.45 kB / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/1.021, allocations: 0 / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/1.021, allocations: 11.98 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/1.021, allocations: 7.953 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/1.021, allocations: 15.17 kB / 1.03 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.564e-05/1.021, allocations: 103.5 kB / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/1.021, allocations: 4 kB / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003098/1.021, allocations: 55.88 kB / 1.03 GB, free: 10.05 MB / 0.6511 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,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000373/1.022, allocations: 172.5 kB / 1.03 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001963/1.022, allocations: 88.55 kB / 1.03 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.022, allocations: 4.188 kB / 1.03 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-05/1.022, allocations: 42.42 kB / 1.03 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/1.022, allocations: 21.03 kB / 1.03 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/1.022, allocations: 136.4 kB / 1.03 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/1.023, allocations: 0.7004 MB / 1.031 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.585e-05/1.023, allocations: 11.98 kB / 1.031 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/1.023, allocations: 11.44 kB / 1.031 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/1.023, allocations: 0 / 1.031 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of Templates: time 0.005013/1.028, allocations: 2.001 MB / 1.033 GB, free: 6.91 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.freqHz,TIn.offset,TIn.phase,TIn.startTime,TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.ACloseIn,win.ACloseOut,win.AOpenIn,win.AOpenOut,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0