Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,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.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,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.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 181 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 0.7948 GB, free: 18.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009629/0.0009628, allocations: 102.1 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 11.17 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3334, allocations: 142.4 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/0.54, allocations: 151.5 MB / 1.371 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.5404, allocations: 83.95 kB / 1.371 GB, free: 1.824 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.0114/0.5518, allocations: 3.28 MB / 1.374 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.946e-06/0.5519, allocations: 0 / 1.374 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.5519, allocations: 4 kB / 1.374 GB, free: 14.53 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006774/0.5526, allocations: 458.4 kB / 1.375 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.5527, allocations: 8.031 kB / 1.375 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.5527, allocations: 11.86 kB / 1.375 GB, free: 14 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.5529, allocations: 171 kB / 1.375 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.5529, allocations: 8 kB / 1.375 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.553, allocations: 4 kB / 1.375 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.5532, allocations: 97.56 kB / 1.375 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.5533, allocations: 0 / 1.375 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.5533, allocations: 0 / 1.375 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.5533, allocations: 0 / 1.375 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.5535, allocations: 51.97 kB / 1.375 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008486/0.5543, allocations: 348.7 kB / 1.375 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.5545, allocations: 62.58 kB / 1.375 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.5545, allocations: 8 kB / 1.375 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.5548, allocations: 95.53 kB / 1.375 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 4.579e-06/0.5548, allocations: 0 / 1.375 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0005784/0.5554, allocations: 205.5 kB / 1.376 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.5554, allocations: 59.39 kB / 1.376 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.5555, allocations: 112.5 kB / 1.376 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.5556, allocations: 29.7 kB / 1.376 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.5557, allocations: 96.03 kB / 1.376 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.5557, allocations: 15.81 kB / 1.376 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.5557, allocations: 0 / 1.376 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5558, allocations: 330.8 kB / 1.376 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.5559, allocations: 31.98 kB / 1.376 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.556, allocations: 68.2 kB / 1.376 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.5562, allocations: 43.98 kB / 1.376 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5562, allocations: 0 / 1.376 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002811/0.5565, allocations: 137.4 kB / 1.376 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5565, allocations: 4 kB / 1.376 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5565, allocations: 8.094 kB / 1.376 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.5565, allocations: 0 / 1.376 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.5567, allocations: 23.92 kB / 1.376 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.5567, allocations: 3.953 kB / 1.376 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.473e-05/0.5568, allocations: 11.98 kB / 1.376 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.5568, allocations: 4 kB / 1.376 GB, free: 11.84 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001134/0.5569, allocations: 119.6 kB / 1.377 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.5569, allocations: 11.91 kB / 1.377 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.557, allocations: 8.375 kB / 1.377 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.557, allocations: 3.984 kB / 1.377 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.557, allocations: 0 / 1.377 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.557, allocations: 3.953 kB / 1.377 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.5576, allocations: 434.4 kB / 1.377 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.5576, allocations: 0 / 1.377 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.5577, allocations: 4 kB / 1.377 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.5577, allocations: 4 kB / 1.377 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.5577, allocations: 7.984 kB / 1.377 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.5577, allocations: 3.953 kB / 1.377 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5577, allocations: 0 / 1.377 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.5581, allocations: 251.3 kB / 1.377 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.5582, allocations: 85.02 kB / 1.377 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.5582, allocations: 0 / 1.377 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.5583, allocations: 11.92 kB / 1.377 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.5584, allocations: 15.94 kB / 1.377 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.5584, allocations: 4 kB / 1.377 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.186e-05/0.5585, allocations: 95.27 kB / 1.378 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5585, allocations: 0 / 1.378 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003597/0.5589, allocations: 51.98 kB / 1.378 GB, free: 10.64 MB / 0.8855 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0004773/0.5593, allocations: 180.3 kB / 1.378 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.5597, allocations: 103.9 kB / 1.378 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5597, allocations: 0 / 1.378 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.5598, allocations: 51.91 kB / 1.378 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.56, allocations: 9.375 kB / 1.378 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.5606, allocations: 225.7 kB / 1.378 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.5608, allocations: 0.7004 MB / 1.379 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.835e-05/0.5609, allocations: 8 kB / 1.379 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.5609, allocations: 11.44 kB / 1.379 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/0.5609, allocations: 0 / 1.379 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of Templates: time 0.004946/0.5659, allocations: 1.768 MB / 1.381 GB, free: 7.555 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0