Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.001078/0.001078, allocations: 172 kB / 492.3 MB, free: 0.6094 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.483/1.483, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.00111/0.00111, allocations: 94.58 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.27e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2678, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9705/1.238, allocations: 151.2 MB / 1.36 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.239, allocations: 83.03 kB / 1.36 GB, free: 19.05 MB / 0.823 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.009346/1.248, allocations: 3.017 MB / 1.363 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.803e-06/1.248, allocations: 0 / 1.363 GB, free: 34.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.248, allocations: 0 / 1.363 GB, free: 34.59 MB / 0.8386 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.0005353/1.249, allocations: 415.4 kB / 1.363 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.249, allocations: 11.75 kB / 1.363 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/1.249, allocations: 11.5 kB / 1.363 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/1.249, allocations: 172.6 kB / 1.364 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/1.249, allocations: 0 / 1.364 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/1.249, allocations: 3.906 kB / 1.364 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/1.249, allocations: 59.62 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.249, allocations: 3.938 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/1.249, allocations: 1.734 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/1.249, allocations: 7.844 kB / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.55e-05/1.249, allocations: 22.59 kB / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/1.25, allocations: 316.9 kB / 1.364 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.826e-05/1.25, allocations: 42.12 kB / 1.364 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/1.25, allocations: 24.69 kB / 1.364 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/1.25, allocations: 3.938 kB / 1.364 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/1.25, allocations: 73.72 kB / 1.364 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/1.25, allocations: 0 / 1.364 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002624/1.251, allocations: 97.7 kB / 1.364 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/1.251, allocations: 56.77 kB / 1.364 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.931e-05/1.251, allocations: 113.6 kB / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/1.251, allocations: 29.2 kB / 1.364 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/1.251, allocations: 96.64 kB / 1.365 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/1.251, allocations: 17.08 kB / 1.365 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/1.251, allocations: 7.562 kB / 1.365 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.251, allocations: 314.1 kB / 1.365 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/1.251, allocations: 22 kB / 1.365 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.282e-05/1.251, allocations: 42.44 kB / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.419e-05/1.251, allocations: 25.75 kB / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.251, allocations: 0 / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001461/1.251, allocations: 97.77 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.251, allocations: 7.625 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.251, allocations: 0 / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.251, allocations: 5.25 kB / 1.365 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/1.251, allocations: 14.84 kB / 1.365 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.251, allocations: 0 / 1.365 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.485e-05/1.252, allocations: 12.48 kB / 1.365 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/1.252, allocations: 11.72 kB / 1.365 GB, free: 32.86 MB / 0.8386 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 7.744e-05/1.252, allocations: 114.2 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/1.252, allocations: 7.781 kB / 1.365 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/1.252, allocations: 8.062 kB / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/1.252, allocations: 1.375 kB / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.252, allocations: 5.062 kB / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.252, allocations: 0 / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/1.252, allocations: 369.8 kB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.252, allocations: 0 / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/1.252, allocations: 8.953 kB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.252, allocations: 0 / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/1.252, allocations: 1.922 kB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.252, allocations: 3.594 kB / 1.366 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.252, allocations: 8.812 kB / 1.366 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/1.252, allocations: 195.9 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/1.252, allocations: 78.38 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/1.252, allocations: 3.875 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/1.253, allocations: 9.438 kB / 1.366 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/1.253, allocations: 14.67 kB / 1.366 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/1.253, allocations: 5.094 kB / 1.366 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.972e-05/1.253, allocations: 92.95 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.2e-07/1.253, allocations: 0 / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003833/1.253, allocations: 53.22 kB / 1.366 GB, free: 32.09 MB / 0.8386 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.0004896/1.254, allocations: 176.1 kB / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001682/1.254, allocations: 53.69 kB / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.254, allocations: 0 / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/1.254, allocations: 26.5 kB / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/1.254, allocations: 16.33 kB / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/1.254, allocations: 98.19 kB / 1.366 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/1.255, allocations: 0.6967 MB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.279e-05/1.255, allocations: 5.359 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/1.255, allocations: 16.55 kB / 1.367 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.255, allocations: 0 / 1.367 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of Templates: time 0.004664/1.26, allocations: 1.532 MB / 1.369 GB, free: 31.05 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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