Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.733/1.733, allocations: 306.1 MB / 321.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 187.2 kB / 393.1 MB, free: 4.078 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.7 MB / 0.6743 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007189/0.000719, allocations: 99.48 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003526, allocations: 8 kB / 0.9224 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7378/0.7382, allocations: 121.3 MB / 1.041 GB, free: 58.35 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001682/0.7399, allocations: 1.191 MB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.7412, allocations: 0.9953 MB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.7412, allocations: 0.5 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.7413, allocations: 3.938 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.7414, allocations: 14.08 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.7419, allocations: 106.1 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.742, allocations: 70.64 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.72e-05/0.7421, allocations: 11.95 kB / 1.043 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.7422, allocations: 34.97 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.7423, allocations: 32.7 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.7423, allocations: 3.344 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.7425, allocations: 82.16 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.7426, allocations: 17.41 kB / 1.043 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.7426, allocations: 57.62 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.7429, allocations: 139.4 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7429, allocations: 0 / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7429, allocations: 3.219 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7429, allocations: 0 / 1.044 GB, free: 56.48 MB / 0.698 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.0006235/0.7435, allocations: 408 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.7436, allocations: 13.62 kB / 1.044 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.7436, allocations: 9.844 kB / 1.044 GB, free: 56.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.7437, allocations: 171.6 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.7438, allocations: 4.938 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.7438, allocations: 8.578 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.7441, allocations: 77.16 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.7441, allocations: 0 / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.7441, allocations: 0 / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.7441, allocations: 3.938 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.7443, allocations: 42.78 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.745, allocations: 325.4 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.7452, allocations: 51.58 kB / 1.045 GB, free: 55.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.7453, allocations: 35.73 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.7454, allocations: 6.344 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.7456, allocations: 83.19 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.7456, allocations: 0.75 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004713/0.7461, allocations: 143 kB / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.7462, allocations: 61.61 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.7462, allocations: 119.1 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.7463, allocations: 25.7 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.7463, allocations: 98.88 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.7463, allocations: 18.28 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.7464, allocations: 7.938 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.7464, allocations: 322.9 kB / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.7465, allocations: 25.45 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.559e-05/0.7466, allocations: 55.8 kB / 1.046 GB, free: 54.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.7468, allocations: 80.22 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7468, allocations: 0 / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002264/0.747, allocations: 116.6 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.747, allocations: 15.72 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.7471, allocations: 0 / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.7471, allocations: 2.625 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.7472, allocations: 17.62 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.7472, allocations: 0 / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.7473, allocations: 8.344 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.7473, allocations: 9.375 kB / 1.046 GB, free: 54.54 MB / 0.698 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,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * 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.342e-05/0.7474, allocations: 122.4 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.7474, allocations: 6.578 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.7474, allocations: 12.61 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7474, allocations: 4 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7474, allocations: 3.938 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7475, allocations: 1.875 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.7479, allocations: 384 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7479, allocations: 0 / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.7479, allocations: 5.578 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.7479, allocations: 4.562 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.7479, allocations: 3.438 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.748, allocations: 0.9375 kB / 1.046 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.748, allocations: 3.938 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.7482, allocations: 218 kB / 1.047 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.7483, allocations: 90.86 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.7483, allocations: 0 / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.35e-05/0.7484, allocations: 7.516 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.7484, allocations: 11.38 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.7484, allocations: 0.5625 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.707e-05/0.7485, allocations: 99.12 kB / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7485, allocations: 3.938 kB / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002963/0.7488, allocations: 38.03 kB / 1.047 GB, free: 53.69 MB / 0.698 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.0003448/0.7491, allocations: 174.3 kB / 1.047 GB, free: 53.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.7494, allocations: 83.14 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.7494, allocations: 4.125 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.437e-05/0.7495, allocations: 37.97 kB / 1.047 GB, free: 53.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.7498, allocations: 12.03 kB / 1.047 GB, free: 53.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.7502, allocations: 215 kB / 1.047 GB, free: 53.37 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.7503, allocations: 0.6882 MB / 1.048 GB, free: 52.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.876e-05/0.7503, allocations: 11.02 kB / 1.048 GB, free: 52.67 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.7504, allocations: 10.47 kB / 1.048 GB, free: 52.67 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/0.7504, allocations: 0 / 1.048 GB, free: 52.67 MB / 0.698 GB Notification: Performance of Templates: time 0.003813/0.7542, allocations: 1.351 MB / 1.049 GB, free: 52.54 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)