Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_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_9_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.001515/0.001515, allocations: 103.7 kB / 16.41 MB, free: 6.5 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.001744/0.001744, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.349/1.349, 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.232/2.232, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.89 kB / 0.9515 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8367/0.838, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003361/0.8414, allocations: 1.47 MB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.8429, allocations: 0.7293 MB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.843, allocations: 0 / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.843, allocations: 5.578 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-05/0.8431, allocations: 14.33 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.8437, allocations: 121.6 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.8439, allocations: 84.44 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.844, allocations: 16.62 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.8441, allocations: 31.64 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.8442, allocations: 40.05 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.8442, allocations: 7.219 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.8444, allocations: 102.2 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.8444, allocations: 14.41 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.8445, allocations: 28.77 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.8448, allocations: 145.8 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8448, allocations: 1.25 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8448, allocations: 0 / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.8448, allocations: 0 / 1.091 GB, free: 3.758 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.000601/0.8454, allocations: 421.6 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.8455, allocations: 9.125 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.8455, allocations: 12.73 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.987e-05/0.8456, allocations: 173.6 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.8456, allocations: 2.875 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.8457, allocations: 8.828 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.8458, allocations: 72.23 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.8459, allocations: 1.969 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.8459, allocations: 0.6094 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.8459, allocations: 0 / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.846, allocations: 39.81 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.8466, allocations: 323 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.8468, allocations: 45.11 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.015e-05/0.8469, allocations: 32.61 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.8469, allocations: 5.391 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.8471, allocations: 80.75 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.8471, allocations: 0 / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004197/0.8475, allocations: 137 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.8476, allocations: 59.28 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.8477, allocations: 122.5 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.8477, allocations: 31.16 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.8478, allocations: 96.38 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.8478, allocations: 11.92 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.8478, allocations: 29 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.8479, allocations: 323.4 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.848, allocations: 24.23 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.8481, allocations: 49.77 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.8482, allocations: 76.5 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8483, allocations: 0 / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002317/0.8485, allocations: 112.2 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8485, allocations: 10.94 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.8485, allocations: 0.7031 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.8486, allocations: 1 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.8487, allocations: 15.94 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.8487, allocations: 0.75 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.8487, allocations: 17.19 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.8488, allocations: 3.859 kB / 1.094 GB, free: 1.77 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 7.112e-05/0.8488, allocations: 119.6 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.8489, allocations: 11.75 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.8489, allocations: 15.91 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.8489, allocations: 1.062 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8489, allocations: 0 / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8489, allocations: 0.5625 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.8493, allocations: 378.9 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.8493, allocations: 0.7031 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.8494, allocations: 12.67 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.8494, allocations: 4.625 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.8494, allocations: 2.406 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.8494, allocations: 1.094 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.8494, allocations: 3.938 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.8497, allocations: 208.3 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.8497, allocations: 80.06 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.8497, allocations: 1.531 kB / 1.094 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.8498, allocations: 13.25 kB / 1.094 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.8499, allocations: 8.531 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.8499, allocations: 3.609 kB / 1.094 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.045e-05/0.8499, allocations: 92.23 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8499, allocations: 0 / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003341/0.8503, allocations: 45.83 kB / 1.095 GB, free: 0.918 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.0003294/0.8506, allocations: 173.1 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.8509, allocations: 72.41 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8509, allocations: 0 / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.851, allocations: 37.94 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.8513, allocations: 6.188 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.8517, allocations: 218.7 kB / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.8519, allocations: 0.687 MB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.8519, allocations: 12.5 kB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of SimCode: time 2.023e-06/0.8519, allocations: 0 / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.004497/0.8564, allocations: 1.621 MB / 1.097 GB, free: 15.72 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches