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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.007051/0.007051, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001562/0.001563, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.325/1.325, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.605/2.605, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 64.89 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2818, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002829/0.2847, allocations: 1.537 MB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2861, allocations: 0.7399 MB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.2861, allocations: 4 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.689e-05/0.2862, allocations: 11.92 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.749e-05/0.2863, allocations: 7.922 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.2868, allocations: 99.77 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.287, allocations: 67.84 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.2871, allocations: 11.98 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.2872, allocations: 39.78 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.2873, allocations: 31.91 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.2873, allocations: 8 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.2875, allocations: 83.91 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.2876, allocations: 19.92 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.2876, allocations: 31.83 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.2878, allocations: 100.1 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2878, allocations: 0 / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.02e-07/0.2879, allocations: 0 / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2879, allocations: 0 / 1.055 GB, free: 5.508 MB / 0.8106 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.0006765/0.2885, allocations: 424.9 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.2886, allocations: 11.97 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.2887, allocations: 12.83 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2888, allocations: 176.2 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.2888, allocations: 8.375 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.2888, allocations: 4.375 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.289, allocations: 69.97 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2891, allocations: 4 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2891, allocations: 0 / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.2891, allocations: 4 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.2892, allocations: 43.91 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.2899, allocations: 308.8 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.29, allocations: 54.55 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/0.2901, allocations: 28.97 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.2901, allocations: 4 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.2904, allocations: 79.38 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2904, allocations: 0 / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003922/0.2908, allocations: 137.5 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.2908, allocations: 55.41 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.474e-05/0.2909, allocations: 121.8 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2909, allocations: 29.7 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.291, allocations: 92.08 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.291, allocations: 23.73 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.2911, allocations: 25.66 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2912, allocations: 322.8 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.103e-05/0.2913, allocations: 31.98 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.374e-05/0.2914, allocations: 50.48 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.2916, allocations: 66.56 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2916, allocations: 0 / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002561/0.2918, allocations: 121.5 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2919, allocations: 4 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2919, allocations: 4.391 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.2919, allocations: 0 / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.923e-05/0.292, allocations: 15.92 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.292, allocations: 0 / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.2921, allocations: 11.89 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.2921, allocations: 4 kB / 1.058 GB, free: 2.957 MB / 0.8106 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.339e-05/0.2922, allocations: 125.8 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.2922, allocations: 4 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.2922, allocations: 8.375 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2923, allocations: 0 / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2923, allocations: 7.969 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2923, allocations: 0 / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.2927, allocations: 394.2 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2928, allocations: 4 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.2928, allocations: 4 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2928, allocations: 0 / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2928, allocations: 4 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2928, allocations: 0 / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2928, allocations: 3.938 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.2932, allocations: 211.3 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.2932, allocations: 89.05 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.2932, allocations: 4 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.282e-05/0.2933, allocations: 7.984 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.2934, allocations: 7.938 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.2934, allocations: 7.984 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.2935, allocations: 91.27 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2935, allocations: 0 / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003038/0.2938, allocations: 40 kB / 1.059 GB, free: 1.863 MB / 0.8106 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.0003339/0.2941, allocations: 162 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.2944, allocations: 71.89 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2944, allocations: 0 / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2945, allocations: 31.98 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.2947, allocations: 12.12 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.2952, allocations: 232.2 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.2954, allocations: 0.6887 MB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.2955, allocations: 15.44 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2955, allocations: 0 / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of Templates: time 0.003593/0.2991, allocations: 1.617 MB / 1.061 GB, free: 15 MB / 0.8262 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches