Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.314/2.314, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001147/0.001147, allocations: 187.8 kB / 0.4902 GB, free: 2.246 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.535/1.535, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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: 98.2 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003718, allocations: 10.22 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3132, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/0.541, allocations: 152 MB / 1.378 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/0.5414, allocations: 83.89 kB / 1.378 GB, free: 1.512 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.01384/0.5553, allocations: 3.031 MB / 1.381 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5553, allocations: 0 / 1.381 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.5553, allocations: 0 / 1.381 GB, free: 14.47 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000721/0.556, allocations: 424.7 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.5561, allocations: 8.562 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/0.5562, allocations: 7.953 kB / 1.381 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.5564, allocations: 174.9 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.5564, allocations: 8 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.5565, allocations: 8 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.5567, allocations: 69.64 kB / 1.381 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5568, allocations: 0 / 1.381 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.5568, allocations: 7.875 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5568, allocations: 3.938 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.557, allocations: 47.97 kB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/0.5579, allocations: 316.8 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.5581, allocations: 50.56 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.5581, allocations: 4.109 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.5583, allocations: 83.31 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/0.5584, allocations: 0 / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0005966/0.559, allocations: 157.5 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.559, allocations: 51.41 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.5592, allocations: 105 kB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.5592, allocations: 33.7 kB / 1.382 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.5593, allocations: 88.23 kB / 1.382 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.5593, allocations: 19.95 kB / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-06/0.5594, allocations: 0 / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5595, allocations: 322.8 kB / 1.383 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.5597, allocations: 35.91 kB / 1.383 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.5598, allocations: 46.56 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.56, allocations: 35.98 kB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.56, allocations: 0 / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003907/0.5604, allocations: 117.5 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5604, allocations: 4 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5604, allocations: 4 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.5605, allocations: 0 / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.5606, allocations: 16.05 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.5606, allocations: 7.953 kB / 1.383 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.5608, allocations: 7.906 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.5608, allocations: 7.938 kB / 1.383 GB, free: 12.01 MB / 0.8855 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 () * Number of clocked 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 0.0001499/0.5609, allocations: 129.7 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.561, allocations: 4 kB / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.561, allocations: 4.375 kB / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.561, allocations: 4 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5611, allocations: 0 / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5611, allocations: 7.953 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.5618, allocations: 386.4 kB / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.5618, allocations: 0 / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.5618, allocations: 7.984 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5619, allocations: 4 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.5619, allocations: 4 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.5619, allocations: 3.953 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.5619, allocations: 0 / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.5624, allocations: 211.5 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.5625, allocations: 92.94 kB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.5625, allocations: 0 / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.5627, allocations: 8 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.5627, allocations: 15.88 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.5628, allocations: 8 kB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.674e-05/0.5629, allocations: 91.92 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5629, allocations: 0 / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005631/0.5634, allocations: 51.92 kB / 1.384 GB, free: 10.9 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked 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.0005382/0.564, allocations: 174.3 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.5644, allocations: 75.91 kB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5644, allocations: 4.125 kB / 1.384 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.5646, allocations: 39.97 kB / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.5648, allocations: 0 / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.5654, allocations: 209.1 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.5658, allocations: 0.6972 MB / 1.385 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.493e-05/0.5658, allocations: 4.172 kB / 1.385 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.5659, allocations: 15.38 kB / 1.385 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of SimCode: time 4.1e-07/0.5659, allocations: 0 / 1.385 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of Templates: time 0.006064/0.572, allocations: 1.518 MB / 1.387 GB, free: 8.129 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.f,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