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.379/2.379, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.00116/0.001161, allocations: 179.2 kB / 498.1 MB, free: 5.688 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.569/1.569, allocations: 223.2 MB / 0.7949 GB, free: 17.86 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.0008731/0.0008732, allocations: 98.66 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003849, allocations: 13.09 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3251, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1946/0.5198, allocations: 151.2 MB / 1.371 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.5201, allocations: 87.95 kB / 1.371 GB, free: 10.77 MB / 0.8698 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.009188/0.5293, allocations: 3.028 MB / 1.374 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.166e-06/0.5294, allocations: 0 / 1.374 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.5294, allocations: 4 kB / 1.374 GB, free: 7.734 MB / 0.8698 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.000626/0.53, allocations: 432.6 kB / 1.374 GB, free: 7.258 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.5301, allocations: 12.03 kB / 1.374 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.5301, allocations: 11.86 kB / 1.374 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.5303, allocations: 167 kB / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.5303, allocations: 4 kB / 1.374 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.5304, allocations: 8 kB / 1.374 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.5306, allocations: 73.59 kB / 1.374 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.5306, allocations: 0 / 1.374 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.5306, allocations: 0 / 1.374 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.5306, allocations: 4 kB / 1.374 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.5308, allocations: 39.97 kB / 1.374 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006941/0.5315, allocations: 320.8 kB / 1.375 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.5316, allocations: 50.5 kB / 1.375 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.5316, allocations: 3.984 kB / 1.375 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.5318, allocations: 83.42 kB / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.5318, allocations: 0 / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0003992/0.5322, allocations: 149.6 kB / 1.375 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.5323, allocations: 67.28 kB / 1.375 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.522e-05/0.5324, allocations: 112.8 kB / 1.375 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.5324, allocations: 29.7 kB / 1.375 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.5325, allocations: 96.38 kB / 1.375 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.5325, allocations: 11.81 kB / 1.375 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.5325, allocations: 4 kB / 1.375 GB, free: 5.879 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5327, allocations: 318.8 kB / 1.375 GB, free: 5.559 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.5328, allocations: 31.98 kB / 1.376 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.987e-05/0.5329, allocations: 50.5 kB / 1.376 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.034e-05/0.533, allocations: 31.98 kB / 1.376 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.533, allocations: 4 kB / 1.376 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002333/0.5332, allocations: 117.5 kB / 1.376 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.5332, allocations: 8 kB / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5333, allocations: 0 / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.5333, allocations: 0 / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.5334, allocations: 19.92 kB / 1.376 GB, free: 5.285 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.5334, allocations: 4.016 kB / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.5335, allocations: 11.94 kB / 1.376 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.5335, allocations: 4 kB / 1.376 GB, free: 5.266 MB / 0.8698 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 9.539e-05/0.5336, allocations: 121.8 kB / 1.376 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.504e-05/0.5336, allocations: 7.906 kB / 1.376 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.5336, allocations: 4.375 kB / 1.376 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.5337, allocations: 4 kB / 1.376 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5337, allocations: 0 / 1.376 GB, free: 5.121 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.433e-06/0.5337, allocations: 7.953 kB / 1.376 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.5341, allocations: 382.5 kB / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5341, allocations: 0 / 1.376 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.5342, allocations: 11.97 kB / 1.376 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.5342, allocations: 4 kB / 1.376 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.5342, allocations: 0 / 1.376 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.5342, allocations: 7.953 kB / 1.376 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5342, allocations: 0 / 1.376 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.5345, allocations: 227.8 kB / 1.377 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.5346, allocations: 81.11 kB / 1.377 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.5346, allocations: 4 kB / 1.377 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.5347, allocations: 8 kB / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.5347, allocations: 7.938 kB / 1.377 GB, free: 4.305 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.5347, allocations: 4 kB / 1.377 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.5348, allocations: 95.27 kB / 1.377 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5348, allocations: 3.938 kB / 1.377 GB, free: 4.203 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003002/0.5351, allocations: 55.89 kB / 1.377 GB, free: 4.148 MB / 0.8698 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.0004012/0.5355, allocations: 175.1 kB / 1.377 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.5358, allocations: 75.91 kB / 1.377 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5358, allocations: 0 / 1.377 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.604e-05/0.5359, allocations: 44.09 kB / 1.377 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.536, allocations: 0 / 1.377 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.5365, allocations: 215.1 kB / 1.377 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.5367, allocations: 0.6965 MB / 1.378 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.803e-05/0.5368, allocations: 4.172 kB / 1.378 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.5368, allocations: 11.44 kB / 1.378 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/0.5368, allocations: 0 / 1.378 GB, free: 2.883 MB / 0.8698 GB Notification: Performance of Templates: time 0.004114/0.5409, allocations: 1.523 MB / 1.379 GB, free: 1.363 MB / 0.8698 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