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.001228/0.001228, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.392/2.392, allocations: 390.2 MB / 0.6647 GB, free: 396 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 71.89 kB / 0.8125 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6779/0.68, allocations: 140.4 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003214/0.6833, allocations: 1.467 MB / 0.951 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.6846, allocations: 0.7337 MB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.6846, allocations: 9.031 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.6847, allocations: 7.922 kB / 0.9517 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.895e-05/0.6847, allocations: 10.06 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.6853, allocations: 117.8 kB / 0.9519 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.6855, allocations: 78.86 kB / 0.9519 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.6856, allocations: 17.92 kB / 0.952 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.804e-05/0.6857, allocations: 41.75 kB / 0.952 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.739e-05/0.6857, allocations: 43.14 kB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.6858, allocations: 6.438 kB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.686, allocations: 94.88 kB / 0.9521 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.686, allocations: 10.83 kB / 0.9521 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.6861, allocations: 32.8 kB / 0.9522 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.6863, allocations: 139.7 kB / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6863, allocations: 0 / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6863, allocations: 0 / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.6863, allocations: 0 / 0.9523 GB, free: 7.105 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.000594/0.6869, allocations: 435.6 kB / 0.9527 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.687, allocations: 9.906 kB / 0.9527 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.687, allocations: 4.625 kB / 0.9527 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.973e-05/0.6871, allocations: 176.5 kB / 0.9529 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.6871, allocations: 2.781 kB / 0.9529 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.6872, allocations: 3.812 kB / 0.9529 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.6874, allocations: 71.78 kB / 0.953 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.6874, allocations: 1.469 kB / 0.953 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.6874, allocations: 4 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6874, allocations: 5.031 kB / 0.953 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.6875, allocations: 36.62 kB / 0.953 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.6881, allocations: 317.9 kB / 0.9533 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.6882, allocations: 47.66 kB / 0.9534 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.613e-05/0.6883, allocations: 31.94 kB / 0.9534 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.6883, allocations: 9.484 kB / 0.9534 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.6885, allocations: 72.92 kB / 0.9535 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.6885, allocations: 0 / 0.9535 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000369/0.6889, allocations: 145 kB / 0.9536 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.6889, allocations: 52.81 kB / 0.9537 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.394e-05/0.689, allocations: 121.2 kB / 0.9538 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.689, allocations: 30.61 kB / 0.9538 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.6891, allocations: 91.38 kB / 0.9539 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.6891, allocations: 17.77 kB / 0.9539 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.6891, allocations: 34.02 kB / 0.954 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.6892, allocations: 328.8 kB / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.977e-05/0.6893, allocations: 26.61 kB / 0.9543 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.6894, allocations: 49.34 kB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.6895, allocations: 69.98 kB / 0.9544 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6895, allocations: 4 kB / 0.9544 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002163/0.6897, allocations: 116.4 kB / 0.9545 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6898, allocations: 9.344 kB / 0.9545 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6898, allocations: 5.031 kB / 0.9545 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.6898, allocations: 5.234 kB / 0.9545 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.6899, allocations: 12.77 kB / 0.9546 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6899, allocations: 1.625 kB / 0.9546 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.69, allocations: 7.844 kB / 0.9546 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.69, allocations: 11 kB / 0.9546 GB, free: 4.941 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 6.472e-05/0.6901, allocations: 122.7 kB / 0.9547 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.6901, allocations: 7.875 kB / 0.9547 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.6901, allocations: 8.375 kB / 0.9547 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.6902, allocations: 1.219 kB / 0.9547 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6902, allocations: 5.156 kB / 0.9547 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.6902, allocations: 0 / 0.9547 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.6905, allocations: 382.3 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6905, allocations: 1.188 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.6906, allocations: 7.203 kB / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6906, allocations: 1.031 kB / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.6906, allocations: 1.094 kB / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6906, allocations: 0 / 0.9551 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6906, allocations: 3.938 kB / 0.9551 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.6909, allocations: 214.5 kB / 0.9553 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.6909, allocations: 83.05 kB / 0.9554 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.6909, allocations: 1.125 kB / 0.9554 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.691, allocations: 6.344 kB / 0.9554 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.6911, allocations: 14.3 kB / 0.9554 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.6911, allocations: 2.531 kB / 0.9554 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.632e-05/0.6911, allocations: 92.58 kB / 0.9555 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6911, allocations: 0 / 0.9555 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002967/0.6914, allocations: 47.89 kB / 0.9555 GB, free: 4.031 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.0003033/0.6918, allocations: 159.6 kB / 0.9557 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.692, allocations: 74.11 kB / 0.9558 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.692, allocations: 1.531 kB / 0.9558 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.6921, allocations: 42.94 kB / 0.9558 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.6924, allocations: 8.719 kB / 0.9558 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.6927, allocations: 174.6 kB / 0.956 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.6929, allocations: 0.6919 MB / 0.9566 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.6929, allocations: 11.5 kB / 0.9567 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.6929, allocations: 14.88 kB / 0.9567 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6929, allocations: 0 / 0.9567 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of Templates: time 0.004139/0.6971, allocations: 1.455 MB / 0.9581 GB, free: 2.23 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