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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001044/0.001044, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001363/0.001363, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.412/2.412, allocations: 390.9 MB / 0.666 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 8 kB / 0.8154 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7593, allocations: 142.4 MB / 0.9544 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001387/0.7607, allocations: 1.185 MB / 0.9556 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009605/0.7617, allocations: 0.6857 MB / 0.9562 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.922e-05/0.7618, allocations: 1.094 kB / 0.9562 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.7618, allocations: 3.938 kB / 0.9563 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.7618, allocations: 9.266 kB / 0.9563 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.7623, allocations: 100.5 kB / 0.9564 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.723e-05/0.7624, allocations: 66 kB / 0.9564 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.647e-05/0.7625, allocations: 13 kB / 0.9564 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.487e-05/0.7626, allocations: 34.62 kB / 0.9565 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.982e-05/0.7626, allocations: 34.72 kB / 0.9565 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.7627, allocations: 3.281 kB / 0.9565 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.7628, allocations: 84.84 kB / 0.9566 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.7629, allocations: 19.44 kB / 0.9566 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.7629, allocations: 30.45 kB / 0.9566 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.763, allocations: 96.08 kB / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.763, allocations: 0 / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7631, allocations: 0 / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.7631, allocations: 1.188 kB / 0.9567 GB, free: 5.969 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.0004556/0.7635, allocations: 417.3 kB / 0.9571 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.7636, allocations: 9.5 kB / 0.9571 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.7636, allocations: 11.48 kB / 0.9571 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.728e-05/0.7637, allocations: 182.3 kB / 0.9573 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.7637, allocations: 6.344 kB / 0.9573 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.7638, allocations: 3.688 kB / 0.9573 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.7639, allocations: 70.91 kB / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.7639, allocations: 0 / 0.9574 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.764, allocations: 5.25 kB / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.764, allocations: 1.375 kB / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.7641, allocations: 48.58 kB / 0.9574 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.7646, allocations: 318.7 kB / 0.9577 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.7647, allocations: 50.34 kB / 0.9578 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.705e-05/0.7648, allocations: 42.33 kB / 0.9578 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.7648, allocations: 1.312 kB / 0.9578 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.765, allocations: 84.23 kB / 0.9579 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.765, allocations: 0 / 0.9579 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003553/0.7654, allocations: 152.5 kB / 0.9581 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.7654, allocations: 57.25 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.737e-05/0.7655, allocations: 120.3 kB / 0.9582 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.7655, allocations: 31.36 kB / 0.9583 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.7655, allocations: 85.77 kB / 0.9583 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.7656, allocations: 14.88 kB / 0.9584 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.7656, allocations: 1.562 kB / 0.9584 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.7656, allocations: 324.3 kB / 0.9587 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.309e-05/0.7657, allocations: 25.05 kB / 0.9587 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.043e-05/0.7658, allocations: 54.23 kB / 0.9587 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.193e-05/0.7659, allocations: 40.41 kB / 0.9588 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7659, allocations: 0 / 0.9588 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002021/0.7661, allocations: 118.9 kB / 0.9589 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.7661, allocations: 6.719 kB / 0.9589 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.7661, allocations: 3.953 kB / 0.9589 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.7661, allocations: 1.781 kB / 0.9589 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.7662, allocations: 21.05 kB / 0.9589 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7662, allocations: 5.875 kB / 0.9589 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.7663, allocations: 17.2 kB / 0.959 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.7663, allocations: 5.781 kB / 0.959 GB, free: 3.863 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,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.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 6.211e-05/0.7664, allocations: 119.2 kB / 0.9591 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.7664, allocations: 3.562 kB / 0.9591 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.7664, allocations: 10.16 kB / 0.9591 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7665, allocations: 7.953 kB / 0.9591 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.7665, allocations: 5.797 kB / 0.9591 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7665, allocations: 0 / 0.9591 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.7668, allocations: 384.2 kB / 0.9595 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7668, allocations: 0 / 0.9595 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.7669, allocations: 8.062 kB / 0.9595 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.7669, allocations: 9.328 kB / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.7669, allocations: 0 / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7669, allocations: 1.375 kB / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7669, allocations: 0 / 0.9595 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.7671, allocations: 210.5 kB / 0.9597 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.7672, allocations: 87.77 kB / 0.9598 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.7672, allocations: 5.328 kB / 0.9598 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.7673, allocations: 8.109 kB / 0.9598 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.7673, allocations: 2.75 kB / 0.9598 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.7673, allocations: 5.359 kB / 0.9598 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.7674, allocations: 92.89 kB / 0.9599 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7674, allocations: 0 / 0.9599 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003058/0.7677, allocations: 39.44 kB / 0.9599 GB, free: 2.969 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 (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.0002947/0.768, allocations: 183.5 kB / 0.9601 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.7682, allocations: 74.7 kB / 0.9602 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.7682, allocations: 128 / 0.9602 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.7683, allocations: 41.92 kB / 0.9602 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.7686, allocations: 5.328 kB / 0.9602 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.7689, allocations: 209.9 kB / 0.9604 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.7691, allocations: 0.6891 MB / 0.9611 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.694e-05/0.7691, allocations: 4.312 kB / 0.9611 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.7691, allocations: 18.17 kB / 0.9611 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of SimCode: time 9.52e-07/0.7691, allocations: 0 / 0.9611 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of Templates: time 0.01314/0.7823, allocations: 1.353 MB / 0.9624 GB, free: 1.172 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