Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 249.5 MB / 257 MB, free: 6.914 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.001108/0.001108, allocations: 180.9 kB / 316.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008149/0.000815, allocations: 92.06 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.464e-05/1.466e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2078, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7402/0.948, allocations: 134.2 MB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.9483, allocations: 81.38 kB / 1.016 GB, free: 3.578 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.01157/0.9598, allocations: 3.572 MB / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9599, allocations: 3.938 kB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.9599, allocations: 0 / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006176/0.9605, allocations: 469.3 kB / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.9606, allocations: 12.03 kB / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.9606, allocations: 7.906 kB / 1.02 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.9608, allocations: 184.1 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.9608, allocations: 3.984 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.9609, allocations: 4 kB / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001085/0.961, allocations: 38.56 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.9611, allocations: 83.95 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.9611, allocations: 0 / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.9612, allocations: 0 / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.9612, allocations: 0 / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.9621, allocations: 357.1 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.9622, allocations: 53.12 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.9623, allocations: 38.92 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.9623, allocations: 0.9375 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.9625, allocations: 92.8 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.562e-06/0.9625, allocations: 4 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0003289/0.9628, allocations: 144.8 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.9629, allocations: 59.36 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.963, allocations: 127.4 kB / 1.021 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.963, allocations: 25.7 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.9631, allocations: 103.4 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.9631, allocations: 18.92 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.9631, allocations: 112 / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.9633, allocations: 330.1 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.337e-05/0.9633, allocations: 22.5 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.9634, allocations: 61.59 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.099e-05/0.9635, allocations: 36.55 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9635, allocations: 0 / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000217/0.9637, allocations: 127.7 kB / 1.022 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.9638, allocations: 4 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.9638, allocations: 4 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.9638, allocations: 0 / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.964, allocations: 19.98 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.964, allocations: 3.938 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.9641, allocations: 19.88 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.9641, allocations: 8.094 kB / 1.022 GB, free: 14.13 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.508e-05/0.9642, allocations: 107.3 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.9642, allocations: 11.94 kB / 1.022 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.9643, allocations: 15.67 kB / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.9643, allocations: 0 / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9643, allocations: 0 / 1.022 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.9643, allocations: 4 kB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.9648, allocations: 409.9 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.9648, allocations: 3.984 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.9649, allocations: 8 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.9649, allocations: 3.938 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.9649, allocations: 3.984 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9649, allocations: 4 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.9649, allocations: 0 / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.9652, allocations: 244.6 kB / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.9653, allocations: 88.94 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.9653, allocations: 4 kB / 1.023 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.9655, allocations: 8.062 kB / 1.023 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.9655, allocations: 10.8 kB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.9656, allocations: 7.984 kB / 1.023 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.942e-05/0.9656, allocations: 101 kB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9656, allocations: 0 / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003177/0.966, allocations: 63.81 kB / 1.023 GB, free: 13.08 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.0003558/0.9663, allocations: 163.1 kB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.9665, allocations: 80.92 kB / 1.023 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9665, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.194e-05/0.9666, allocations: 50.11 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.9668, allocations: 11.23 kB / 1.024 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.9672, allocations: 131.1 kB / 1.024 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.9675, allocations: 0.7008 MB / 1.024 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.008e-05/0.9675, allocations: 16.06 kB / 1.024 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.9676, allocations: 11.44 kB / 1.024 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.9676, allocations: 0 / 1.024 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of Templates: time 0.005568/0.9731, allocations: 1.929 MB / 1.026 GB, free: 10.04 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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:TIn.amplitude,TIn.freqHz,TIn.offset,TIn.phase,TIn.startTime,TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.ACloseIn,win.ACloseOut,win.AOpenIn,win.AOpenOut,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0