Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Nicol2001WindowsUK,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.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,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.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.54/1.54, allocations: 249.5 MB / 257 MB, free: 7.016 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.001535/0.001535, allocations: 177.8 kB / 316.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.001088/0.001088, allocations: 95.2 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.786e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2418, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8013/1.043, allocations: 133.9 MB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/1.044, allocations: 78.02 kB / 1.016 GB, free: 3.938 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.0088/1.052, allocations: 2.96 MB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.784e-06/1.052, allocations: 0 / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.688e-06/1.052, allocations: 4 kB / 1.019 GB, free: 1.426 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.0004951/1.053, allocations: 407.6 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.053, allocations: 12.03 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/1.053, allocations: 11.84 kB / 1.019 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/1.053, allocations: 170.9 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/1.053, allocations: 3.984 kB / 1.02 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/1.053, allocations: 4.938 kB / 1.02 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.145e-05/1.053, allocations: 27.17 kB / 1.02 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/1.053, allocations: 58.91 kB / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.053, allocations: 4 kB / 1.02 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/1.053, allocations: 0 / 1.02 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/1.053, allocations: 4 kB / 1.02 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005609/1.054, allocations: 287.4 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.241e-05/1.054, allocations: 41.33 kB / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/1.054, allocations: 24.11 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/1.054, allocations: 3.984 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/1.054, allocations: 74.08 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/1.054, allocations: 0 / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002329/1.055, allocations: 91.97 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/1.055, allocations: 63.02 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/1.055, allocations: 114 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/1.055, allocations: 25.7 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/1.055, allocations: 91.88 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/1.055, allocations: 15.44 kB / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/1.055, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.055, allocations: 326.5 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.28e-05/1.055, allocations: 11.44 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.597e-05/1.055, allocations: 41.08 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.673e-05/1.055, allocations: 27.17 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/1.055, allocations: 0 / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001477/1.055, allocations: 87.83 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.055, allocations: 9.562 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.055, allocations: 0 / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/1.055, allocations: 0 / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/1.055, allocations: 23.73 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/1.055, allocations: 4.062 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/1.056, allocations: 7.906 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/1.056, allocations: 4 kB / 1.021 GB, free: 15.31 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.148e-05/1.056, allocations: 112.9 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/1.056, allocations: 4 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/1.056, allocations: 8.188 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/1.056, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.056, allocations: 0.875 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.056, allocations: 7.984 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/1.056, allocations: 346.9 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.056, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/1.056, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.056, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/1.056, allocations: 4 kB / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.056, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.056, allocations: 7.984 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/1.056, allocations: 196.7 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/1.056, allocations: 81.02 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/1.056, allocations: 0 / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/1.057, allocations: 7.984 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/1.057, allocations: 7.938 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/1.057, allocations: 4 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.464e-05/1.057, allocations: 98.73 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.057, allocations: 7.938 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002687/1.057, allocations: 39.94 kB / 1.022 GB, free: 14.36 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.0003384/1.057, allocations: 174.8 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001315/1.057, allocations: 49.88 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.057, allocations: 4.125 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.079e-05/1.058, allocations: 29.73 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/1.058, allocations: 3.953 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/1.058, allocations: 97.22 kB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/1.058, allocations: 0.6885 MB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.554e-05/1.058, allocations: 4.188 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/1.058, allocations: 19.42 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/1.058, allocations: 0 / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of Templates: time 0.003715/1.062, allocations: 1.491 MB / 1.024 GB, free: 11.82 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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