Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,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.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_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.931/1.931, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001017/0.001017, allocations: 181.2 kB / 487 MB, free: 5.371 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.227/1.227, allocations: 221.3 MB / 0.7819 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000922/0.0009218, allocations: 93.56 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.829e-06/4.85e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.217, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5999/0.8169, allocations: 150.4 MB / 1.352 GB, free: 16.19 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.8172, allocations: 79.66 kB / 1.352 GB, free: 16.19 MB / 0.8073 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: time 0.008816/0.826, allocations: 2.691 MB / 1.355 GB, free: 16.05 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.8261, allocations: 0.9688 kB / 1.355 GB, free: 16.05 MB / 0.8073 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.0004288/0.8265, allocations: 418 kB / 1.355 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.8266, allocations: 9.75 kB / 1.355 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.8266, allocations: 7.641 kB / 1.355 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.564e-05/0.8267, allocations: 171.9 kB / 1.355 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.8267, allocations: 5.859 kB / 1.355 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.8268, allocations: 4.5 kB / 1.355 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.073e-05/0.8268, allocations: 22.86 kB / 1.355 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.564e-05/0.8269, allocations: 58 kB / 1.355 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.827, allocations: 7.594 kB / 1.355 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.827, allocations: 0 / 1.355 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.827, allocations: 2.25 kB / 1.355 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.8274, allocations: 277.4 kB / 1.356 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.566e-05/0.8275, allocations: 47.5 kB / 1.356 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.8275, allocations: 26.36 kB / 1.356 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.8275, allocations: 1.594 kB / 1.356 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.098e-05/0.8276, allocations: 65.52 kB / 1.356 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.8276, allocations: 0 / 1.356 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002088/0.8278, allocations: 85.67 kB / 1.356 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.8279, allocations: 54.39 kB / 1.356 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.583e-05/0.8279, allocations: 115.1 kB / 1.356 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.828, allocations: 26.8 kB / 1.356 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.828, allocations: 90.77 kB / 1.356 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.828, allocations: 15.41 kB / 1.356 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.828, allocations: 0 / 1.356 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.8281, allocations: 318.8 kB / 1.357 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.8281, allocations: 14.12 kB / 1.357 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.962e-05/0.8282, allocations: 42.56 kB / 1.357 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.325e-05/0.8282, allocations: 21.39 kB / 1.357 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8283, allocations: 0.6875 kB / 1.357 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001614/0.8284, allocations: 93.59 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.8284, allocations: 5.125 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8285, allocations: 1.641 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8285, allocations: 1.281 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.8286, allocations: 20.61 kB / 1.357 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.8286, allocations: 2.203 kB / 1.357 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.966e-05/0.8287, allocations: 10.23 kB / 1.357 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.8287, allocations: 4.016 kB / 1.357 GB, free: 14.35 MB / 0.8073 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 5.329e-05/0.8288, allocations: 107.8 kB / 1.357 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.8288, allocations: 6.875 kB / 1.357 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.8288, allocations: 8.172 kB / 1.357 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.8288, allocations: 8.938 kB / 1.357 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8288, allocations: 0 / 1.357 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.8288, allocations: 1.875 kB / 1.357 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.8291, allocations: 321.9 kB / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8291, allocations: 0 / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.8292, allocations: 5.672 kB / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8292, allocations: 0.9375 kB / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.8292, allocations: 6.656 kB / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.8292, allocations: 8.422 kB / 1.357 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8292, allocations: 0.8438 kB / 1.357 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001513/0.8294, allocations: 170.6 kB / 1.357 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.8294, allocations: 83.86 kB / 1.357 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.8294, allocations: 5.391 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.8295, allocations: 9.844 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.8296, allocations: 4.25 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.8296, allocations: 10.91 kB / 1.357 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.102e-05/0.8296, allocations: 89.33 kB / 1.358 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003304/0.83, allocations: 53.41 kB / 1.358 GB, free: 13.62 MB / 0.8073 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.0003162/0.8303, allocations: 169.4 kB / 1.358 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.8304, allocations: 56.98 kB / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.8305, allocations: 0 / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.492e-05/0.8305, allocations: 32.95 kB / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.8307, allocations: 9.641 kB / 1.358 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.831, allocations: 97.16 kB / 1.358 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.8313, allocations: 0.7097 MB / 1.359 GB, free: 28.71 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/0.8313, allocations: 128 / 1.359 GB, free: 28.71 MB / 0.823 GB Notification: Performance of Templates: time 0.004223/0.8355, allocations: 1.629 MB / 1.36 GB, free: 28.56 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","../files/Buildings_9_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.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