Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001354/0.001354, allocations: 105.1 kB / 16.27 MB, free: 6.398 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.001423/0.001423, allocations: 191.8 kB / 17.2 MB, free: 5.969 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.372/2.372, allocations: 437 MB / 0.711 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.78 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2615, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002784/0.2644, allocations: 1.478 MB / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2657, allocations: 0.7415 MB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.2658, allocations: 4 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.2658, allocations: 7.875 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.2659, allocations: 7.875 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.2665, allocations: 127.6 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.2666, allocations: 75.81 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.2667, allocations: 11.94 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.2669, allocations: 27.92 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.579e-05/0.2669, allocations: 43.81 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.267, allocations: 8 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.2672, allocations: 99.84 kB / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.2672, allocations: 15.92 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.2673, allocations: 35.86 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.2675, allocations: 143.9 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2676, allocations: 0 / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2676, allocations: 0 / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2676, allocations: 0 / 1.021 GB, free: 7.801 MB / 0.795 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.0006448/0.2682, allocations: 414.9 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2683, allocations: 8.031 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.2683, allocations: 8.844 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2684, allocations: 176.2 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.2685, allocations: 12.38 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.2685, allocations: 4.375 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.2687, allocations: 69.91 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2687, allocations: 0 / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.2687, allocations: 8 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2688, allocations: 0 / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.2689, allocations: 43.89 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006088/0.2695, allocations: 312.8 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.2697, allocations: 54.5 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.535e-05/0.2697, allocations: 32.97 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.2698, allocations: 4 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.27, allocations: 79.44 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.27, allocations: 0 / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003969/0.2704, allocations: 141.5 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.2704, allocations: 51.41 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/0.2705, allocations: 121.8 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.2706, allocations: 29.7 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.2707, allocations: 92.14 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.2707, allocations: 23.73 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.2707, allocations: 25.7 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2709, allocations: 318.8 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.2709, allocations: 27.98 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.2711, allocations: 54.92 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.2712, allocations: 82.41 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2712, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002464/0.2715, allocations: 109.5 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2715, allocations: 11.98 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2715, allocations: 64 / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2715, allocations: 4 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.543e-05/0.2716, allocations: 12 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2717, allocations: 4 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.063e-05/0.2717, allocations: 15.83 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.2718, allocations: 0 / 1.023 GB, free: 5.25 MB / 0.795 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.049e-05/0.2719, allocations: 126.2 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/0.2719, allocations: 4 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.2719, allocations: 16.36 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2719, allocations: 0 / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2719, allocations: 0 / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2719, allocations: 3.984 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.2724, allocations: 386.3 kB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2724, allocations: 0 / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.2725, allocations: 7.938 kB / 1.023 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2725, allocations: 0 / 1.023 GB, free: 4.648 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.2725, allocations: 7.984 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2725, allocations: 4 kB / 1.023 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.2725, allocations: 3.938 kB / 1.023 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.2728, allocations: 207.9 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.2728, allocations: 77.11 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.2729, allocations: 0 / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.273, allocations: 7.984 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.273, allocations: 11.94 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.273, allocations: 3.984 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.311e-05/0.2731, allocations: 99.27 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2731, allocations: 0 / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002969/0.2734, allocations: 32 kB / 1.024 GB, free: 4.168 MB / 0.795 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.0003323/0.2737, allocations: 164.5 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002432/0.274, allocations: 75.83 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.274, allocations: 0 / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.2741, allocations: 39.97 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2744, allocations: 8.531 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.2748, allocations: 213.1 kB / 1.024 GB, free: 3.648 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.275, allocations: 0.6923 MB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.2751, allocations: 11.44 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of SimCode: time 5.81e-07/0.2751, allocations: 0 / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of Templates: time 0.003391/0.2785, allocations: 1.619 MB / 1.027 GB, free: 1.301 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches