Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Residential.Windows.Validation.Nicol2001WindowsEU,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.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,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.Residential.Windows.Validation.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.523/1.523, allocations: 249.5 MB / 257 MB, free: 7.02 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.00126/0.001261, allocations: 183.5 kB / 316.3 MB, free: 3.246 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.909/1.909, 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.0008423/0.0008423, allocations: 90.83 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.549e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2764, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7305/1.007, allocations: 133.9 MB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.007, allocations: 83.06 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.008699/1.016, allocations: 2.964 MB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.242e-06/1.016, allocations: 0 / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.776e-06/1.016, allocations: 4.938 kB / 1.019 GB, free: 1.434 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.0004858/1.017, allocations: 402.7 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.017, allocations: 19.97 kB / 1.019 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/1.017, allocations: 7.906 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/1.017, allocations: 176.7 kB / 1.02 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/1.017, allocations: 0 / 1.02 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/1.017, allocations: 7.984 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.595e-05/1.017, allocations: 20.5 kB / 1.02 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/1.017, allocations: 57.41 kB / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/1.017, allocations: 0 / 1.02 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/1.017, allocations: 7.688 kB / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/1.017, allocations: 4 kB / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/1.018, allocations: 292.8 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.155e-05/1.018, allocations: 33.27 kB / 1.02 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/1.018, allocations: 26.98 kB / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/1.018, allocations: 0 / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/1.018, allocations: 70.45 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/1.018, allocations: 0 / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002434/1.018, allocations: 95.2 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/1.018, allocations: 63.45 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/1.018, allocations: 109.9 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/1.018, allocations: 25.7 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/1.018, allocations: 91.94 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/1.019, allocations: 19.31 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/1.019, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.019, allocations: 326 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.626e-05/1.019, allocations: 14.81 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/1.019, allocations: 37.95 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.142e-05/1.019, allocations: 22.42 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.019, allocations: 4 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001546/1.019, allocations: 97.14 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/1.019, allocations: 6.188 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/1.019, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.019, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/1.019, allocations: 15.98 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/1.019, allocations: 3.938 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/1.019, allocations: 8.656 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/1.019, allocations: 4.062 kB / 1.021 GB, free: 15.33 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 9.241e-05/1.019, allocations: 116.9 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/1.019, allocations: 4 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/1.019, allocations: 7.875 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/1.019, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.019, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.019, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/1.02, allocations: 352.4 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.02, allocations: 4 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/1.02, allocations: 4 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.02, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/1.02, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/1.02, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.02, allocations: 4.078 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/1.02, allocations: 197.1 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/1.02, allocations: 84.95 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/1.02, allocations: 4 kB / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.547e-05/1.02, allocations: 7.984 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/1.02, allocations: 4 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/1.02, allocations: 4 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.386e-05/1.02, allocations: 97.86 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.813e-06/1.02, allocations: 3.938 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003111/1.021, 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.0004045/1.021, allocations: 169 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001401/1.021, allocations: 55.55 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.021, allocations: 0 / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.61e-05/1.021, allocations: 26.42 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.0001835/1.022, allocations: 7.141 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/1.022, allocations: 97.84 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/1.022, allocations: 0.6885 MB / 1.023 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.248e-05/1.022, allocations: 4.188 kB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/1.022, allocations: 14.75 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.022, allocations: 0 / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of Templates: time 0.003865/1.026, allocations: 1.498 MB / 1.024 GB, free: 11.83 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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