Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001168/0.001167, allocations: 177.1 kB / 498.1 MB, free: 5.715 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.417/1.417, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.0009003/0.0009007, allocations: 100.3 kB / 0.9346 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 14.19 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2928, allocations: 142.3 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.4855, allocations: 151.2 MB / 1.371 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.4858, allocations: 79.95 kB / 1.371 GB, free: 2.062 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.009395/0.4952, allocations: 3.047 MB / 1.374 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.474e-06/0.4952, allocations: 0 / 1.374 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.4953, allocations: 0 / 1.374 GB, free: 15.01 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.0006194/0.4959, allocations: 420.7 kB / 1.374 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.4959, allocations: 8.031 kB / 1.374 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.496, allocations: 19.8 kB / 1.374 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.4961, allocations: 167.1 kB / 1.374 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.4962, allocations: 8 kB / 1.374 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.4962, allocations: 4 kB / 1.374 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.4964, allocations: 69.59 kB / 1.374 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.4964, allocations: 0 / 1.374 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.4965, allocations: 0 / 1.374 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4965, allocations: 0 / 1.374 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.4966, allocations: 51.97 kB / 1.374 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.4973, allocations: 312.7 kB / 1.375 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.4974, allocations: 58.56 kB / 1.375 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.4974, allocations: 3.984 kB / 1.375 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.4976, allocations: 79.42 kB / 1.375 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.4976, allocations: 0 / 1.375 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004456/0.4981, allocations: 157.5 kB / 1.375 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.4982, allocations: 55.34 kB / 1.375 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.4983, allocations: 112.9 kB / 1.375 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.4983, allocations: 29.7 kB / 1.375 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.4984, allocations: 88.39 kB / 1.375 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.4984, allocations: 23.73 kB / 1.375 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.4984, allocations: 4 kB / 1.375 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4986, allocations: 323 kB / 1.376 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.4986, allocations: 27.98 kB / 1.376 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.526e-05/0.4987, allocations: 46.56 kB / 1.376 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.71e-05/0.4989, allocations: 43.92 kB / 1.376 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4989, allocations: 0 / 1.376 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002393/0.4991, allocations: 117.5 kB / 1.376 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.185e-05/0.4992, allocations: 4 kB / 1.376 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4992, allocations: 8.062 kB / 1.376 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4992, allocations: 0 / 1.376 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.4993, allocations: 11.98 kB / 1.376 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.4993, allocations: 7.953 kB / 1.376 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.458e-05/0.4994, allocations: 4 kB / 1.376 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.4994, allocations: 8 kB / 1.376 GB, free: 12.55 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.0001031/0.4996, allocations: 121.8 kB / 1.376 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.4996, allocations: 11.91 kB / 1.376 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.4996, allocations: 8.375 kB / 1.376 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4996, allocations: 0 / 1.376 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4996, allocations: 3.984 kB / 1.376 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4996, allocations: 7.953 kB / 1.376 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.5001, allocations: 374.5 kB / 1.376 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5001, allocations: 4 kB / 1.376 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.5002, allocations: 11.92 kB / 1.376 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5002, allocations: 3.938 kB / 1.376 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.5002, allocations: 4 kB / 1.376 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.5002, allocations: 3.953 kB / 1.376 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5002, allocations: 3.938 kB / 1.376 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.5005, allocations: 223.9 kB / 1.377 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.202e-05/0.5006, allocations: 77.11 kB / 1.377 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.5006, allocations: 0 / 1.377 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.791e-05/0.5007, allocations: 4 kB / 1.377 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.5008, allocations: 15.94 kB / 1.377 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.5008, allocations: 4 kB / 1.377 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.5009, allocations: 95.86 kB / 1.377 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5009, allocations: 0 / 1.377 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003673/0.5012, allocations: 59.83 kB / 1.377 GB, free: 11.43 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.0004483/0.5017, allocations: 177.8 kB / 1.377 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002503/0.502, allocations: 76.03 kB / 1.377 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.502, allocations: 0 / 1.377 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.5021, allocations: 43.91 kB / 1.377 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.5023, allocations: 4 kB / 1.377 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.5027, allocations: 205.2 kB / 1.377 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.503, allocations: 0.6926 MB / 1.378 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.503, allocations: 8.172 kB / 1.378 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.503, allocations: 11.44 kB / 1.378 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5031, allocations: 0 / 1.378 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of Templates: time 0.004223/0.5073, allocations: 1.519 MB / 1.379 GB, free: 8.652 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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