Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 107 kB / 16.27 MB, free: 5.992 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.00124/0.00124, allocations: 192.5 kB / 17.2 MB, free: 5.602 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.29 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.445/2.445, allocations: 437 MB / 0.711 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.75 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2801, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002751/0.2829, allocations: 1.48 MB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2843, allocations: 0.7337 MB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.2843, allocations: 0 / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.2844, allocations: 3.938 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-05/0.2845, allocations: 15.86 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.2851, allocations: 123.6 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.2852, allocations: 79.77 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2853, allocations: 8 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.831e-05/0.2854, allocations: 35.91 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.157e-05/0.2855, allocations: 39.83 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.2855, allocations: 4 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.2857, allocations: 103.8 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.2858, allocations: 19.92 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.2858, allocations: 31.84 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.2861, allocations: 139.9 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.2861, allocations: 0 / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2861, allocations: 0 / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2861, allocations: 0 / 1.021 GB, free: 7.848 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.0006341/0.2867, allocations: 418.9 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2868, allocations: 16.03 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.2868, allocations: 8.781 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.287, allocations: 172.2 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.287, allocations: 8.375 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.287, allocations: 4.375 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.2872, allocations: 77.91 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2872, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.2872, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.2873, allocations: 3.984 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.2874, allocations: 43.91 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.288, allocations: 316.8 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.2882, allocations: 50.5 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.848e-05/0.2883, allocations: 40.97 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.2883, allocations: 0 / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.2885, allocations: 75.38 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.2885, allocations: 0 / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003835/0.2889, allocations: 137.5 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.2889, allocations: 63.47 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/0.289, allocations: 122.2 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.289, allocations: 29.7 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.2891, allocations: 84.14 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.2891, allocations: 23.73 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.2892, allocations: 29.7 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.2893, allocations: 322.8 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.007e-05/0.2894, allocations: 19.98 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-05/0.2895, allocations: 58.59 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.2896, allocations: 74.48 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2896, allocations: 0 / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002376/0.2899, allocations: 113.5 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2899, allocations: 7.984 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2899, allocations: 0 / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2899, allocations: 0 / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.29, allocations: 12 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.29, allocations: 400 / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.2901, allocations: 19.83 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2901, allocations: 4 kB / 1.023 GB, free: 5.293 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 8.922e-05/0.2902, allocations: 128.2 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.2903, allocations: 4 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.2903, allocations: 12.36 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2903, allocations: 0 / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2903, allocations: 0 / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2903, allocations: 4 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.2907, allocations: 386.3 kB / 1.023 GB, free: 4.703 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2908, allocations: 3.938 kB / 1.023 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.2908, allocations: 11.94 kB / 1.023 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2908, allocations: 0 / 1.023 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2908, allocations: 7.984 kB / 1.023 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2908, allocations: 0 / 1.023 GB, free: 4.68 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2908, allocations: 3.938 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.2911, allocations: 207.4 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.2912, allocations: 81.11 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.2912, allocations: 11.98 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/0.2913, allocations: 4 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.2913, allocations: 7.938 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.2913, allocations: 7.984 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.579e-05/0.2914, allocations: 91.27 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2914, allocations: 0 / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002919/0.2917, allocations: 36 kB / 1.024 GB, free: 4.203 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.0003024/0.292, allocations: 164.2 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.2923, allocations: 75.83 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2923, allocations: 4 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.2924, allocations: 35.92 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.2926, allocations: 9.484 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.2931, allocations: 214.7 kB / 1.024 GB, free: 3.684 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.2933, allocations: 0.6885 MB / 1.025 GB, free: 2.969 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.2934, allocations: 11.44 kB / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.2934, allocations: 4 kB / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of Templates: time 0.003202/0.2966, allocations: 1.61 MB / 1.027 GB, free: 1.348 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches