Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [: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 10.0.0-master/package.mo): time 1.988/1.988, allocations: 390.4 MB / 397.7 MB, free: 1.984 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 188.1 kB / 490.8 MB, free: 7.578 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.3 MB / 0.7863 GB, free: 416 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.000889, allocations: 88.61 kB / 0.9264 GB, free: 0.7773 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 6.893e-06/7.093e-06, allocations: 0 / 1.072 GB, free: 137.6 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2391, allocations: 143 MB / 1.212 GB, free: 10.7 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6728/0.912, allocations: 151.2 MB / 1.359 GB, free: 11.13 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.9123, allocations: 79.95 kB / 1.359 GB, free: 11.05 MB / 0.8311 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.008767/0.9211, allocations: 2.707 MB / 1.362 GB, free: 8.355 MB / 0.8311 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.9211, allocations: 0 / 1.362 GB, free: 8.355 MB / 0.8311 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.0006485/0.9217, allocations: 411.9 kB / 1.362 GB, free: 7.902 MB / 0.8311 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.9218, allocations: 8.031 kB / 1.362 GB, free: 7.895 MB / 0.8311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.9219, allocations: 7.906 kB / 1.362 GB, free: 7.887 MB / 0.8311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.922, allocations: 175 kB / 1.363 GB, free: 7.676 MB / 0.8311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.922, allocations: 7.906 kB / 1.363 GB, free: 7.668 MB / 0.8311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.9221, allocations: 0 / 1.363 GB, free: 7.668 MB / 0.8311 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001011/0.9222, allocations: 23.98 kB / 1.363 GB, free: 7.645 MB / 0.8311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.9223, allocations: 65.61 kB / 1.363 GB, free: 7.574 MB / 0.8311 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.9223, allocations: 3.984 kB / 1.363 GB, free: 7.57 MB / 0.8311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.9223, allocations: 0 / 1.363 GB, free: 7.57 MB / 0.8311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.9223, allocations: 0 / 1.363 GB, free: 7.57 MB / 0.8311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.9228, allocations: 285.3 kB / 1.363 GB, free: 7.254 MB / 0.8311 GB Notification: Performance of preOpt comSubExp (simulation): time 8.232e-05/0.9229, allocations: 34.58 kB / 1.363 GB, free: 7.211 MB / 0.8311 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.923, allocations: 28.97 kB / 1.363 GB, free: 7.18 MB / 0.8311 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.923, allocations: 0 / 1.363 GB, free: 7.18 MB / 0.8311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.9231, allocations: 67.33 kB / 1.363 GB, free: 7.102 MB / 0.8311 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.9231, allocations: 0 / 1.363 GB, free: 7.102 MB / 0.8311 GB Notification: Performance of matching and sorting (n=7): time 0.0003078/0.9235, allocations: 77.59 kB / 1.363 GB, free: 7.02 MB / 0.8311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.9235, allocations: 59.41 kB / 1.363 GB, free: 6.949 MB / 0.8311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/0.9236, allocations: 108.9 kB / 1.363 GB, free: 6.836 MB / 0.8311 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.9236, allocations: 29.7 kB / 1.363 GB, free: 6.801 MB / 0.8311 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.9237, allocations: 88.25 kB / 1.363 GB, free: 6.707 MB / 0.8311 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.9237, allocations: 19.88 kB / 1.363 GB, free: 6.688 MB / 0.8311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.9238, allocations: 0 / 1.363 GB, free: 6.688 MB / 0.8311 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.9239, allocations: 322.8 kB / 1.364 GB, free: 6.363 MB / 0.8311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/0.9239, allocations: 12 kB / 1.364 GB, free: 6.352 MB / 0.8311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-05/0.924, allocations: 38.58 kB / 1.364 GB, free: 6.305 MB / 0.8311 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.505e-05/0.9241, allocations: 27.92 kB / 1.364 GB, free: 6.277 MB / 0.8311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.9241, allocations: 0 / 1.364 GB, free: 6.277 MB / 0.8311 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001958/0.9243, allocations: 85.58 kB / 1.364 GB, free: 6.188 MB / 0.8311 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.9243, allocations: 8 kB / 1.364 GB, free: 6.18 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.9243, allocations: 3.938 kB / 1.364 GB, free: 6.176 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.9244, allocations: 4.062 kB / 1.364 GB, free: 6.172 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.9245, allocations: 19.92 kB / 1.364 GB, free: 6.152 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.9245, allocations: 0 / 1.364 GB, free: 6.152 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.9246, allocations: 7.906 kB / 1.364 GB, free: 6.145 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.9246, allocations: 8 kB / 1.364 GB, free: 6.137 MB / 0.8311 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 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.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 0.0001153/0.9247, allocations: 105 kB / 1.364 GB, free: 6.027 MB / 0.8311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.9248, allocations: 7.906 kB / 1.364 GB, free: 6.02 MB / 0.8311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.9248, allocations: 16.36 kB / 1.364 GB, free: 6.004 MB / 0.8311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.9248, allocations: 0 / 1.364 GB, free: 6.004 MB / 0.8311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.9249, allocations: 0 / 1.364 GB, free: 6.004 MB / 0.8311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9249, allocations: 0 / 1.364 GB, free: 6.004 MB / 0.8311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.9253, allocations: 323 kB / 1.364 GB, free: 5.645 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.9253, allocations: 0 / 1.364 GB, free: 5.645 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.9253, allocations: 7.938 kB / 1.364 GB, free: 5.637 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.9254, allocations: 4 kB / 1.364 GB, free: 5.633 MB / 0.8311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.9254, allocations: 7.984 kB / 1.364 GB, free: 5.625 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.9254, allocations: 240 / 1.364 GB, free: 5.625 MB / 0.8311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.9254, allocations: 3.906 kB / 1.364 GB, free: 5.621 MB / 0.8311 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002225/0.9256, allocations: 179.4 kB / 1.365 GB, free: 5.43 MB / 0.8311 GB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.9257, allocations: 85.02 kB / 1.365 GB, free: 5.328 MB / 0.8311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.9257, allocations: 4 kB / 1.365 GB, free: 5.324 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.9258, allocations: 11.98 kB / 1.365 GB, free: 5.312 MB / 0.8311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.9259, allocations: 4 kB / 1.365 GB, free: 5.309 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.9259, allocations: 0 / 1.365 GB, free: 5.309 MB / 0.8311 GB Notification: Performance of sort global known variables: time 5.727e-05/0.926, allocations: 93.12 kB / 1.365 GB, free: 5.219 MB / 0.8311 GB Notification: Performance of remove unused functions: time 0.0003396/0.9263, allocations: 51.88 kB / 1.365 GB, free: 5.168 MB / 0.8311 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 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.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.0004592/0.9268, allocations: 175.6 kB / 1.365 GB, free: 5 MB / 0.8311 GB Notification: Performance of simCode: created initialization part: time 0.000173/0.9269, allocations: 55.94 kB / 1.365 GB, free: 4.945 MB / 0.8311 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.927, allocations: 0 / 1.365 GB, free: 4.945 MB / 0.8311 GB Notification: Performance of simCode: created simulation system equations: time 6.081e-05/0.927, allocations: 27.98 kB / 1.365 GB, free: 4.918 MB / 0.8311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.9273, allocations: 3.984 kB / 1.365 GB, free: 4.914 MB / 0.8311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.9277, allocations: 99.75 kB / 1.365 GB, free: 4.793 MB / 0.8311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/0.9281, allocations: 0.7037 MB / 1.366 GB, free: 4.062 MB / 0.8311 GB Notification: Performance of SimCode: time 4.41e-07/0.9281, allocations: 0 / 1.366 GB, free: 4.062 MB / 0.8311 GB Notification: Performance of Templates: time 0.005117/0.9333, allocations: 1.638 MB / 1.367 GB, free: 2.43 MB / 0.8311 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time