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.387/1.387, allocations: 251.9 MB / 266.9 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 173.8 kB / 326.5 MB, free: 2.285 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.717/1.717, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0007838/0.0007837, allocations: 101.4 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003368, allocations: 12.53 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1888, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.348, allocations: 133.7 MB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.3483, allocations: 87.89 kB / 1.031 GB, free: 10.01 MB / 0.6823 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.008455/0.3567, allocations: 2.99 MB / 1.034 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3567, allocations: 0 / 1.034 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.3568, allocations: 7.938 kB / 1.034 GB, free: 7.004 MB / 0.6823 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.0004595/0.3572, allocations: 424.7 kB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3573, allocations: 12.03 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.3573, allocations: 7.906 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3574, allocations: 175 kB / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3575, allocations: 0 / 1.034 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.3575, allocations: 8 kB / 1.034 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.3576, allocations: 65.66 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3577, allocations: 3.938 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3577, allocations: 4 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3577, allocations: 4 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.3578, allocations: 43.91 kB / 1.034 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.3584, allocations: 324.6 kB / 1.035 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.3585, allocations: 46.56 kB / 1.035 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.3585, allocations: 4.125 kB / 1.035 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.3587, allocations: 87.38 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3587, allocations: 4 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003601/0.359, allocations: 145.5 kB / 1.035 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.3591, allocations: 59.36 kB / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.3592, allocations: 105 kB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3592, allocations: 29.7 kB / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.3592, allocations: 96.31 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.3593, allocations: 19.8 kB / 1.035 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.3593, allocations: 0 / 1.035 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.3594, allocations: 318.8 kB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.157e-05/0.3595, allocations: 31.98 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.5e-05/0.3596, allocations: 54.94 kB / 1.036 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.029e-05/0.3596, allocations: 29.86 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3597, allocations: 4 kB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002213/0.3599, allocations: 121.5 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3599, allocations: 4 kB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.3599, allocations: 0 / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.3599, allocations: 4 kB / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.36, allocations: 15.98 kB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.36, allocations: 400 / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.3601, allocations: 15.89 kB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3601, allocations: 4 kB / 1.036 GB, free: 4.547 MB / 0.6823 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 7.832e-05/0.3602, allocations: 129.8 kB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.3602, allocations: 3.906 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.3603, allocations: 12.31 kB / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3603, allocations: 3.984 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3603, allocations: 0 / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3603, allocations: 0 / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.3607, allocations: 398.4 kB / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3607, allocations: 0 / 1.036 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.3608, allocations: 11.92 kB / 1.036 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3608, allocations: 0 / 1.036 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3608, allocations: 0 / 1.036 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3608, allocations: 0 / 1.036 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3608, allocations: 3.953 kB / 1.036 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3611, allocations: 219.4 kB / 1.037 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.3611, allocations: 85.02 kB / 1.037 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3612, allocations: 0 / 1.037 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/0.3612, allocations: 4 kB / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.3613, allocations: 7.984 kB / 1.037 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.3613, allocations: 7.953 kB / 1.037 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.3614, allocations: 99.42 kB / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3614, allocations: 4 kB / 1.037 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002707/0.3616, allocations: 51.92 kB / 1.037 GB, free: 3.426 MB / 0.6823 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.0002895/0.3619, allocations: 165.4 kB / 1.037 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.3622, allocations: 79.95 kB / 1.037 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3622, allocations: 0 / 1.037 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.3623, allocations: 39.91 kB / 1.037 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.3624, allocations: 10.16 kB / 1.037 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.3628, allocations: 205.2 kB / 1.037 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.363, allocations: 0.6887 MB / 1.038 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.363, allocations: 8.172 kB / 1.038 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.363, allocations: 11.44 kB / 1.038 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of SimCode: time 3.01e-07/0.363, allocations: 4 kB / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of Templates: time 0.003495/0.3665, allocations: 1.531 MB / 1.04 GB, free: 0.6758 MB / 0.6823 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