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.001746/0.001746, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001958/0.001958, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.524/1.524, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.169/2.169, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.7783, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002515/0.7808, allocations: 1.47 MB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.782, allocations: 0.74 MB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.7821, allocations: 1.062 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.7821, allocations: 5.156 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.434e-05/0.7822, allocations: 9.766 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005685/0.7828, allocations: 117.6 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.7829, allocations: 81.14 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.783, allocations: 23.73 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.01e-05/0.7831, allocations: 31.8 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.7832, allocations: 37.2 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.7832, allocations: 6 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.7834, allocations: 99.5 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.7835, allocations: 17.98 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.7835, allocations: 28.33 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.7838, allocations: 142 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.7838, allocations: 1.094 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7838, allocations: 4 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.7838, allocations: 0.7969 kB / 1.091 GB, free: 3.75 MB / 0.8575 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.0005573/0.7844, allocations: 428.3 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.7844, allocations: 9.031 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.7845, allocations: 13.3 kB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.817e-05/0.7845, allocations: 172.7 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.7846, allocations: 3.344 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.7846, allocations: 5.016 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.7848, allocations: 81.11 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.7848, allocations: 0 / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.7848, allocations: 0.625 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.7848, allocations: 1.578 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.785, allocations: 39.59 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005628/0.7855, allocations: 314.4 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.7857, allocations: 50.31 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.7858, allocations: 31.66 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.7858, allocations: 5.531 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.786, allocations: 80.72 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.786, allocations: 8.875 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003926/0.7864, allocations: 136.6 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.7865, allocations: 54.75 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.7865, allocations: 122.5 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.7866, allocations: 27.8 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.7866, allocations: 91.8 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.7866, allocations: 16 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.7867, allocations: 28.95 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.7867, allocations: 327.9 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.7868, allocations: 30.7 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.661e-05/0.7869, allocations: 47.03 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.7871, allocations: 72.52 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7871, allocations: 0 / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002215/0.7873, allocations: 112.4 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.7873, allocations: 6.547 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7873, allocations: 1.031 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.7874, allocations: 0.9688 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.7875, allocations: 15.62 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.7875, allocations: 1.125 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.501e-05/0.7875, allocations: 21.31 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.7876, allocations: 3.703 kB / 1.094 GB, free: 1.75 MB / 0.8575 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.766e-05/0.7876, allocations: 119.5 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.7877, allocations: 7.688 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.7877, allocations: 10.7 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.7877, allocations: 1.062 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7877, allocations: 1.031 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.7877, allocations: 0.6562 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.7881, allocations: 382.9 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.7881, allocations: 0 / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.7882, allocations: 5.922 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.7882, allocations: 1.312 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.7882, allocations: 5.266 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7882, allocations: 1.312 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.7882, allocations: 7.938 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.7885, allocations: 211 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.7885, allocations: 80.19 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.7885, allocations: 6.75 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.7886, allocations: 4.016 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.7887, allocations: 12.42 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.7887, allocations: 3.859 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.882e-05/0.7887, allocations: 91.27 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7887, allocations: 4.844 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003133/0.7891, allocations: 50.09 kB / 1.095 GB, free: 0.8945 MB / 0.8575 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.0003102/0.7894, allocations: 160.1 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.7896, allocations: 72 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7896, allocations: 5 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.7897, allocations: 41.58 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.79, allocations: 9.906 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.7904, allocations: 209.6 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.7906, allocations: 0.6872 MB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.7906, allocations: 19.84 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.7906, allocations: 0.7188 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.004207/0.7948, allocations: 1.617 MB / 1.097 GB, free: 15.7 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches