Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 387.1 MB / 399.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 184.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.3 MB / 0.7872 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009974/0.0009978, allocations: 88.89 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.154e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3061, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.39, allocations: 151.2 MB / 1.36 GB, free: 18.78 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.39, allocations: 88.12 kB / 1.36 GB, free: 18.78 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.009741/1.4, allocations: 3.016 MB / 1.363 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.018e-06/1.4, allocations: 0 / 1.363 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.402e-05/1.4, allocations: 7.75 kB / 1.363 GB, free: 34.32 MB / 0.8386 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.0005465/1.401, allocations: 411.2 kB / 1.363 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/1.401, allocations: 7.688 kB / 1.363 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/1.401, allocations: 11.75 kB / 1.363 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/1.401, allocations: 171.9 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/1.401, allocations: 3.875 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/1.401, allocations: 7.094 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/1.401, allocations: 60.34 kB / 1.364 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/1.401, allocations: 5.297 kB / 1.364 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/1.401, allocations: 7.562 kB / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.401, allocations: 0 / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.496e-05/1.401, allocations: 23.64 kB / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/1.402, allocations: 315.2 kB / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.685e-05/1.402, allocations: 38.27 kB / 1.364 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/1.402, allocations: 32.34 kB / 1.364 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/1.402, allocations: 3.828 kB / 1.364 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/1.402, allocations: 73.52 kB / 1.364 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/1.402, allocations: 0 / 1.364 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002447/1.402, allocations: 92.3 kB / 1.364 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/1.402, allocations: 60.83 kB / 1.364 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.854e-05/1.403, allocations: 114.5 kB / 1.364 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/1.403, allocations: 29.14 kB / 1.364 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/1.403, allocations: 96.34 kB / 1.365 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/1.403, allocations: 15.56 kB / 1.365 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/1.403, allocations: 7.5 kB / 1.365 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.403, allocations: 321.3 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/1.403, allocations: 19.86 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.536e-05/1.403, allocations: 37.92 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.34e-05/1.403, allocations: 23.3 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.403, allocations: 4 kB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001513/1.403, allocations: 98.06 kB / 1.365 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.403, allocations: 3.844 kB / 1.365 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.403, allocations: 1.359 kB / 1.365 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.403, allocations: 3.844 kB / 1.365 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.746e-05/1.403, allocations: 10.12 kB / 1.365 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.403, allocations: 4.094 kB / 1.365 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.379e-05/1.403, allocations: 24.06 kB / 1.365 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/1.403, allocations: 5.562 kB / 1.365 GB, free: 32.58 MB / 0.8386 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.985e-05/1.404, allocations: 108.9 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/1.404, allocations: 9.094 kB / 1.365 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/1.404, allocations: 11.88 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.404, allocations: 1.453 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.404, allocations: 0 / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.404, allocations: 0 / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/1.404, allocations: 375.9 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.404, allocations: 1.266 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/1.404, allocations: 5.781 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.404, allocations: 0 / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/1.404, allocations: 5.375 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.404, allocations: 4 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.404, allocations: 3.953 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/1.404, allocations: 191.9 kB / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/1.404, allocations: 81.11 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/1.404, allocations: 5.234 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/1.404, allocations: 5.172 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/1.404, allocations: 18.56 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/1.404, allocations: 1.266 kB / 1.366 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.932e-05/1.405, allocations: 92.97 kB / 1.366 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.405, allocations: 0 / 1.366 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002924/1.405, allocations: 51.23 kB / 1.366 GB, free: 31.82 MB / 0.8386 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.0003729/1.405, allocations: 184.1 kB / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001417/1.405, allocations: 54.78 kB / 1.366 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.405, allocations: 0 / 1.366 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.486e-05/1.405, allocations: 31.16 kB / 1.366 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/1.406, allocations: 5.266 kB / 1.366 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/1.406, allocations: 104.5 kB / 1.366 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/1.406, allocations: 0.6985 MB / 1.367 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.811e-05/1.406, allocations: 4.094 kB / 1.367 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/1.406, allocations: 10.11 kB / 1.367 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.406, allocations: 3.75 kB / 1.367 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of Templates: time 0.003981/1.41, allocations: 1.531 MB / 1.369 GB, free: 30.77 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","../files/Buildings_9_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.f,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