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/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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, 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.001986/0.001987, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 482.3 MB / 0.7543 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002394/0.002394, allocations: 68.86 kB / 0.9233 GB, free: 29.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3396, allocations: 162.2 MB / 1.082 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002778/0.3425, allocations: 1.54 MB / 1.083 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3437, allocations: 0.7246 MB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.3438, allocations: 0 / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.933e-05/0.3438, allocations: 3.938 kB / 1.084 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.663e-05/0.3439, allocations: 11.88 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.3444, allocations: 115.8 kB / 1.084 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.3445, allocations: 75.77 kB / 1.084 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.314e-05/0.3446, allocations: 11.98 kB / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.3447, allocations: 35.91 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.491e-05/0.3448, allocations: 39.83 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.3448, allocations: 4 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.345, allocations: 103.8 kB / 1.084 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.345, allocations: 19.92 kB / 1.084 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.345, allocations: 27.86 kB / 1.084 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.3453, allocations: 139.9 kB / 1.085 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3453, allocations: 4 kB / 1.085 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3453, allocations: 0 / 1.085 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.3453, allocations: 4 kB / 1.085 GB, free: 10.75 MB / 0.8419 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.0006586/0.346, allocations: 413 kB / 1.085 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.346, allocations: 16.03 kB / 1.085 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.3461, allocations: 8.844 kB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3462, allocations: 176.2 kB / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3462, allocations: 4.359 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.3462, allocations: 8.375 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.3464, allocations: 69.97 kB / 1.085 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3465, allocations: 0 / 1.085 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3465, allocations: 0 / 1.085 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.3465, allocations: 0 / 1.085 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3466, allocations: 39.97 kB / 1.085 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.3473, allocations: 320.7 kB / 1.086 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.3474, allocations: 46.5 kB / 1.086 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.3475, allocations: 40.91 kB / 1.086 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3475, allocations: 0 / 1.086 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.3477, allocations: 83.36 kB / 1.086 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.3477, allocations: 3.938 kB / 1.086 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003963/0.3481, allocations: 137.6 kB / 1.086 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.3482, allocations: 59.41 kB / 1.086 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3483, allocations: 121.8 kB / 1.086 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.3483, allocations: 25.7 kB / 1.086 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.3484, allocations: 96.12 kB / 1.086 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.3484, allocations: 15.81 kB / 1.086 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.3485, allocations: 29.7 kB / 1.086 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3486, allocations: 326.8 kB / 1.086 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.3487, allocations: 19.98 kB / 1.086 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.34e-05/0.3488, allocations: 54.56 kB / 1.087 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.349, allocations: 74.8 kB / 1.087 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.349, allocations: 0 / 1.087 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002365/0.3492, allocations: 117.5 kB / 1.087 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.3493, allocations: 4 kB / 1.087 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.3493, allocations: 0 / 1.087 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3493, allocations: 4 kB / 1.087 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.3494, allocations: 11.98 kB / 1.087 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3494, allocations: 0 / 1.087 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.834e-05/0.3495, allocations: 8 kB / 1.087 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.3495, allocations: 7.938 kB / 1.087 GB, free: 8.207 MB / 0.8419 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 0.0001196/0.3496, allocations: 125.8 kB / 1.087 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.3496, allocations: 11.84 kB / 1.087 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.3497, allocations: 8.375 kB / 1.087 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3497, allocations: 0 / 1.087 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3497, allocations: 4 kB / 1.087 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3497, allocations: 0 / 1.087 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.3502, allocations: 390.3 kB / 1.087 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3502, allocations: 0 / 1.087 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.3502, allocations: 11.98 kB / 1.087 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3503, allocations: 0 / 1.087 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3503, allocations: 0 / 1.087 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3503, allocations: 0 / 1.087 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3503, allocations: 3.938 kB / 1.087 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.3506, allocations: 203.4 kB / 1.087 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.3506, allocations: 85 kB / 1.088 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.3507, allocations: 12 kB / 1.088 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.3508, allocations: 0 / 1.088 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.3508, allocations: 15.86 kB / 1.088 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.3508, allocations: 4 kB / 1.088 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.991e-05/0.3509, allocations: 91.27 kB / 1.088 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3509, allocations: 0 / 1.088 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002785/0.3512, allocations: 39.94 kB / 1.088 GB, free: 7.117 MB / 0.8419 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.0003462/0.3515, allocations: 167.3 kB / 1.088 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.3518, allocations: 75.89 kB / 1.088 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3518, allocations: 0 / 1.088 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3519, allocations: 35.97 kB / 1.088 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.3522, allocations: 8.484 kB / 1.088 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.3526, allocations: 197.1 kB / 1.088 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.3529, allocations: 0.6885 MB / 1.089 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.43e-05/0.353, allocations: 11.98 kB / 1.089 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.353, allocations: 7.438 kB / 1.089 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.353, allocations: 0 / 1.089 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of Templates: time 0.004174/0.3572, allocations: 1.409 MB / 1.09 GB, free: 4.484 MB / 0.8419 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=400 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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