Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 249.5 MB / 257 MB, free: 6.949 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.001174/0.001174, allocations: 188.1 kB / 316.3 MB, free: 3.344 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.776/1.776, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008822/0.0008822, allocations: 94.41 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.046e-05/2.049e-05, allocations: 8 kB / 0.7814 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1996, allocations: 106.3 MB / 0.8852 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7333/0.9329, allocations: 133.9 MB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.9332, allocations: 82.69 kB / 1.016 GB, free: 3.945 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.008641/0.9418, allocations: 2.951 MB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9418, allocations: 5.031 kB / 1.019 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.9419, allocations: 4 kB / 1.019 GB, free: 1.441 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004892/0.9424, allocations: 411.7 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.9424, allocations: 15.97 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.9424, allocations: 7.906 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.9426, allocations: 170.9 kB / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.9426, allocations: 0 / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.9426, allocations: 4 kB / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.83e-05/0.9427, allocations: 27.73 kB / 1.02 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.797e-05/0.9428, allocations: 53.92 kB / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.9428, allocations: 0 / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.9429, allocations: 7.922 kB / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.9429, allocations: 4 kB / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.9434, allocations: 292.3 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.039e-05/0.9435, allocations: 38.44 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.9435, allocations: 24.55 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.9436, allocations: 0 / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.9437, allocations: 67.66 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.9437, allocations: 0 / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002428/0.944, allocations: 105 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.944, allocations: 55.41 kB / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.9441, allocations: 112.7 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.9441, allocations: 25.7 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.9442, allocations: 88.14 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.9442, allocations: 19.25 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.9442, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9444, allocations: 322.7 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.9444, allocations: 19.67 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.9445, allocations: 44.03 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.043e-05/0.9445, allocations: 23.98 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9446, allocations: 0 / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001594/0.9447, allocations: 89.22 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.9447, allocations: 13.23 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.9448, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.9448, allocations: 4.062 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.9449, allocations: 15.94 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.9449, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.734e-05/0.945, allocations: 15.89 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.945, allocations: 4 kB / 1.021 GB, free: 15.32 MB / 0.6511 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 8.943e-05/0.9451, allocations: 113.8 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.9451, allocations: 7.984 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.9451, allocations: 8.625 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.9451, allocations: 3.984 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.9451, allocations: 0 / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.9452, allocations: 0 / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.9455, allocations: 345.6 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.9455, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.9456, allocations: 7.984 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.9456, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.9456, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9456, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9456, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.9458, allocations: 194.7 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.784e-05/0.9458, allocations: 92.88 kB / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.9459, allocations: 0 / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.9459, allocations: 4 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.946, allocations: 7.984 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.946, allocations: 11.75 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.904e-05/0.9461, allocations: 87.16 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.833e-06/0.9461, allocations: 0 / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002745/0.9464, allocations: 47.86 kB / 1.022 GB, free: 14.38 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: 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.0003258/0.9467, allocations: 167.7 kB / 1.022 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.9468, allocations: 59.36 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9468, allocations: 0 / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.78e-05/0.9469, allocations: 23.62 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.9471, allocations: 9.719 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.9473, allocations: 92.09 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.9476, allocations: 0.6924 MB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.9476, allocations: 12.28 kB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.9476, allocations: 11.44 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/0.9477, allocations: 3.938 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of Templates: time 0.003588/0.9512, allocations: 1.505 MB / 1.024 GB, free: 11.84 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.freqHz,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