Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 249.3 MB / 261.9 MB, free: 5.863 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.00103/0.001031, allocations: 176.9 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.66/1.66, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.000913/0.0009128, allocations: 98.44 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.272e-05/4.318e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2343, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7803/1.015, allocations: 133.6 MB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.015, allocations: 78.14 kB / 1.022 GB, free: 1.074 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.00963/1.025, allocations: 2.976 MB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/1.025, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.328e-06/1.025, allocations: 3.938 kB / 1.025 GB, free: 14.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006341/1.025, allocations: 407.7 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.025, allocations: 15.97 kB / 1.026 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/1.025, allocations: 11.47 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/1.026, allocations: 174.9 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/1.026, allocations: 4 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/1.026, allocations: 4 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/1.026, allocations: 62.86 kB / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/1.026, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/1.026, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.026, allocations: 0 / 1.026 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.173e-05/1.026, allocations: 28.5 kB / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/1.027, allocations: 315.8 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/1.027, allocations: 45.25 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/1.027, allocations: 23.48 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/1.027, allocations: 4 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/1.027, allocations: 74.33 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.983e-06/1.027, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.000265/1.027, allocations: 96.52 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.027, allocations: 59.44 kB / 1.027 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/1.028, allocations: 107.7 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/1.028, allocations: 32.64 kB / 1.027 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/1.028, allocations: 95.73 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/1.028, allocations: 19.56 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/1.028, allocations: 0 / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.028, allocations: 318.5 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/1.028, allocations: 19.44 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/1.028, allocations: 46.14 kB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.103e-05/1.028, allocations: 30.48 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.028, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001788/1.028, allocations: 103.9 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.028, allocations: 8 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/1.028, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/1.028, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/1.028, allocations: 15.98 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/1.028, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/1.028, allocations: 15.92 kB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/1.029, allocations: 4 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.478e-05/1.029, allocations: 112.5 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/1.029, allocations: 4 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/1.029, allocations: 11.61 kB / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.029, allocations: 0 / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.029, allocations: 7.938 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.029, allocations: 0 / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/1.029, allocations: 374.6 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.029, allocations: 0 / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/1.029, allocations: 4 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/1.029, allocations: 0 / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/1.029, allocations: 15.3 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.029, allocations: 0 / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.029, allocations: 3.953 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/1.029, allocations: 189.6 kB / 1.028 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/1.03, allocations: 85.02 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/1.03, allocations: 2.938 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/1.03, allocations: 7.984 kB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/1.03, allocations: 7.953 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/1.03, allocations: 7.984 kB / 1.028 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.706e-05/1.03, allocations: 92.02 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.824e-06/1.03, allocations: 3.938 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003049/1.03, allocations: 55.23 kB / 1.028 GB, free: 11.36 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete 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 (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.0004182/1.031, allocations: 166.5 kB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001628/1.031, allocations: 56.16 kB / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.031, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-05/1.031, allocations: 29.72 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/1.031, allocations: 8.062 kB / 1.029 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/1.031, allocations: 100.4 kB / 1.029 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/1.032, allocations: 0.6887 MB / 1.029 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.148e-05/1.032, allocations: 16.14 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/1.032, allocations: 7.438 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of SimCode: time 5.31e-07/1.032, allocations: 4 kB / 1.029 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of Templates: time 0.00444/1.036, allocations: 1.535 MB / 1.031 GB, free: 8.762 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0