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") [: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.932/1.932, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001077/0.001077, allocations: 180.3 kB / 487 MB, free: 5.402 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.258/1.258, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0009368/0.0009369, allocations: 95.44 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.53e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2289, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6065/0.8354, allocations: 150.4 MB / 1.352 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.8356, allocations: 78.64 kB / 1.352 GB, free: 15.8 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.009286/0.8449, allocations: 2.689 MB / 1.355 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.8449, allocations: 0.8125 kB / 1.355 GB, free: 15.66 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.0005335/0.8455, allocations: 416.7 kB / 1.355 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.8455, allocations: 9.344 kB / 1.355 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.8456, allocations: 8.703 kB / 1.355 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.8458, allocations: 178.7 kB / 1.355 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.8458, allocations: 0.9688 kB / 1.355 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.8458, allocations: 4.594 kB / 1.355 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.947e-05/0.8459, allocations: 19.97 kB / 1.355 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.8461, allocations: 62.59 kB / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.8461, allocations: 0 / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.8461, allocations: 4.828 kB / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.8461, allocations: 5.344 kB / 1.355 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.8466, allocations: 276.3 kB / 1.356 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.463e-05/0.8467, allocations: 44.14 kB / 1.356 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.8467, allocations: 22.81 kB / 1.356 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.8468, allocations: 5.844 kB / 1.356 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.312e-05/0.8469, allocations: 67.45 kB / 1.356 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.8469, allocations: 0 / 1.356 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002163/0.8471, allocations: 81.72 kB / 1.356 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.8471, allocations: 54.42 kB / 1.356 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.471e-05/0.8472, allocations: 110.9 kB / 1.356 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.8472, allocations: 26.52 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.8472, allocations: 96.11 kB / 1.356 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.8473, allocations: 11.91 kB / 1.356 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.8473, allocations: 0.8438 kB / 1.356 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.8473, allocations: 322.2 kB / 1.357 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.821e-05/0.8474, allocations: 18.47 kB / 1.357 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-05/0.8474, allocations: 36.17 kB / 1.357 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.8475, allocations: 26.16 kB / 1.357 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.8475, allocations: 0 / 1.357 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001627/0.8477, allocations: 96.72 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.8477, allocations: 5.375 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8477, allocations: 0 / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8477, allocations: 2.281 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.8478, allocations: 11.36 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.8478, allocations: 6.031 kB / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.8479, allocations: 14.62 kB / 1.357 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.8479, allocations: 3.719 kB / 1.357 GB, free: 13.96 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.656e-05/0.848, allocations: 104.4 kB / 1.357 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.848, allocations: 11.28 kB / 1.357 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.8481, allocations: 6.375 kB / 1.357 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.8481, allocations: 6.641 kB / 1.357 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8481, allocations: 0 / 1.357 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.8481, allocations: 4.719 kB / 1.357 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.8484, allocations: 322.1 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8484, allocations: 0.9062 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/0.8484, allocations: 7.406 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8484, allocations: 0.9375 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.8484, allocations: 2.344 kB / 1.357 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8484, allocations: 4.656 kB / 1.357 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8485, allocations: 1.125 kB / 1.357 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001566/0.8486, allocations: 175.1 kB / 1.357 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.8486, allocations: 86.75 kB / 1.357 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.8487, allocations: 1.344 kB / 1.357 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.712e-05/0.8488, allocations: 5.812 kB / 1.357 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.453e-05/0.8488, allocations: 4.375 kB / 1.357 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.8488, allocations: 3.656 kB / 1.357 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.636e-05/0.8489, allocations: 96.77 kB / 1.358 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003006/0.8492, allocations: 51.95 kB / 1.358 GB, free: 13.23 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.0003205/0.8495, allocations: 169.4 kB / 1.358 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.8497, allocations: 55.5 kB / 1.358 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8497, allocations: 128 / 1.358 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.695e-05/0.8498, allocations: 35.52 kB / 1.358 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.8499, allocations: 3.547 kB / 1.358 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.8502, allocations: 98.05 kB / 1.358 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.8505, allocations: 0.7095 MB / 1.359 GB, free: 28.33 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/0.8505, allocations: 0 / 1.359 GB, free: 28.33 MB / 0.823 GB Notification: Performance of Templates: time 0.004162/0.8546, allocations: 1.638 MB / 1.36 GB, free: 28.17 MB / 0.823 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