Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 192.6 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.2 MB / 0.6643 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8277, allocations: 140.4 MB / 0.9491 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003543/0.8313, allocations: 1.535 MB / 0.9506 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.8332, allocations: 0.7185 MB / 0.9513 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.87e-05/0.8332, allocations: 3.938 kB / 0.9513 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.347e-05/0.8333, allocations: 3.984 kB / 0.9513 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.421e-05/0.8334, allocations: 5.438 kB / 0.9513 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007137/0.8341, allocations: 110.6 kB / 0.9514 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.8343, allocations: 84.14 kB / 0.9515 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.8344, allocations: 21.38 kB / 0.9515 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.8345, allocations: 29.23 kB / 0.9515 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.354e-05/0.8346, allocations: 43.5 kB / 0.9516 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.8347, allocations: 6.438 kB / 0.9516 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000261/0.8349, allocations: 98.34 kB / 0.9517 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.835, allocations: 18.61 kB / 0.9517 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.8351, allocations: 29.7 kB / 0.9517 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.8354, allocations: 140.1 kB / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8354, allocations: 0 / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8354, allocations: 0 / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.8354, allocations: 0 / 0.9519 GB, free: 7.27 MB / 0.7169 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.0007227/0.8362, allocations: 428.9 kB / 0.9523 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.8362, allocations: 12.83 kB / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.8363, allocations: 8.562 kB / 0.9523 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.462e-05/0.8364, allocations: 172.3 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.8364, allocations: 3.062 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.8365, allocations: 4.156 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.8368, allocations: 72.19 kB / 0.9525 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.8368, allocations: 0 / 0.9525 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.8368, allocations: 1.219 kB / 0.9525 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.8369, allocations: 0 / 0.9525 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.8371, allocations: 40.34 kB / 0.9526 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007758/0.8379, allocations: 330.4 kB / 0.9529 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.8381, allocations: 44.28 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.8383, allocations: 32.28 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.8383, allocations: 9.25 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.8386, allocations: 80.7 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.424e-06/0.8386, allocations: 0 / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006182/0.8392, allocations: 141.2 kB / 0.9532 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.8393, allocations: 52.81 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.8394, allocations: 133 kB / 0.9534 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.8394, allocations: 27.02 kB / 0.9534 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.8395, allocations: 86.58 kB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.8395, allocations: 18.36 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.16e-05/0.8396, allocations: 29.47 kB / 0.9535 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.702e-05/0.8397, allocations: 325.3 kB / 0.9538 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.8398, allocations: 23.02 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.84, allocations: 55.75 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.8403, allocations: 73.58 kB / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.8403, allocations: 5.094 kB / 0.954 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004161/0.8407, allocations: 109.1 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.8407, allocations: 8.438 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.8408, allocations: 1.188 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.8408, allocations: 5.297 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.841, allocations: 8.531 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.841, allocations: 5.344 kB / 0.9541 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.8411, allocations: 15.52 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.8411, allocations: 3.625 kB / 0.9541 GB, free: 5.109 MB / 0.7169 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,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.15e-05/0.8412, allocations: 118.4 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.8413, allocations: 11.72 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/0.8413, allocations: 9.594 kB / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.8414, allocations: 5.203 kB / 0.9543 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.8414, allocations: 0 / 0.9543 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.8414, allocations: 0 / 0.9543 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006123/0.842, allocations: 383.4 kB / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.842, allocations: 0 / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.8421, allocations: 3.812 kB / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.8421, allocations: 4 kB / 0.9546 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.8421, allocations: 1.094 kB / 0.9546 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.8422, allocations: 5.016 kB / 0.9546 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.8422, allocations: 3.938 kB / 0.9546 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.8426, allocations: 201.6 kB / 0.9548 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.8426, allocations: 87.61 kB / 0.9549 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.8427, allocations: 8.969 kB / 0.9549 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.8428, allocations: 10.98 kB / 0.9549 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.8429, allocations: 11.19 kB / 0.9549 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.843, allocations: 5.047 kB / 0.9549 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.377e-05/0.843, allocations: 93.11 kB / 0.955 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.843, allocations: 0 / 0.955 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005344/0.8436, allocations: 36.78 kB / 0.9551 GB, free: 4.203 MB / 0.7169 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004289/0.844, allocations: 168.4 kB / 0.9552 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.8444, allocations: 78.06 kB / 0.9553 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.8444, allocations: 0 / 0.9553 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.8446, allocations: 36.81 kB / 0.9553 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.8451, allocations: 6.594 kB / 0.9553 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.8456, allocations: 206 kB / 0.9555 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.8458, allocations: 0.6917 MB / 0.9562 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.917e-05/0.8459, allocations: 4.562 kB / 0.9562 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.8459, allocations: 13.84 kB / 0.9562 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.8459, allocations: 5.062 kB / 0.9562 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of Templates: time 0.006066/0.852, allocations: 1.396 MB / 0.9576 GB, free: 2.406 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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