Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 297.4 MB / 312.6 MB, free: 2.934 MB / 234.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.0009869/0.0009869, allocations: 189.2 kB / 382.3 MB, free: 14.82 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.362/1.362, allocations: 225.7 MB / 0.6617 GB, free: 7.246 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000789/0.0007893, allocations: 98.3 kB / 0.7789 GB, free: 46.92 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.000406, allocations: 8.781 kB / 0.9058 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.627/0.6274, allocations: 119.2 MB / 1.022 GB, free: 58.22 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001687/0.6292, allocations: 1.194 MB / 1.023 GB, free: 57.65 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.6305, allocations: 0.998 MB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.6305, allocations: 0 / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.6306, allocations: 4.594 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.6307, allocations: 10.27 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.6312, allocations: 106.1 kB / 1.025 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.6313, allocations: 70.11 kB / 1.025 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.6315, allocations: 8.672 kB / 1.025 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.6316, allocations: 43.47 kB / 1.025 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.6316, allocations: 30.72 kB / 1.025 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.6317, allocations: 3.219 kB / 1.025 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.6319, allocations: 80.41 kB / 1.025 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.6319, allocations: 17.11 kB / 1.025 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.632, allocations: 56.69 kB / 1.025 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.6323, allocations: 140.7 kB / 1.025 GB, free: 56.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6323, allocations: 0 / 1.025 GB, free: 56.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6323, allocations: 1.594 kB / 1.025 GB, free: 56.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.6323, allocations: 0 / 1.025 GB, free: 56.71 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.0006276/0.6329, allocations: 411 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.633, allocations: 9.859 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.633, allocations: 9.531 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.134e-05/0.6331, allocations: 173.6 kB / 1.026 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.6332, allocations: 5.5 kB / 1.026 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.6332, allocations: 4.094 kB / 1.026 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.6334, allocations: 80.19 kB / 1.026 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.6334, allocations: 3.938 kB / 1.026 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.6334, allocations: 2.125 kB / 1.026 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6334, allocations: 1.406 kB / 1.026 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.6336, allocations: 41.88 kB / 1.026 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.6341, allocations: 320.7 kB / 1.026 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.6343, allocations: 55.62 kB / 1.026 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.401e-05/0.6344, allocations: 40.27 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.6344, allocations: 3.203 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.6346, allocations: 83.17 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.6346, allocations: 1.062 kB / 1.026 GB, free: 55.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000436/0.6351, allocations: 144.1 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.6351, allocations: 54.38 kB / 1.026 GB, free: 55.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.6352, allocations: 127.6 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.6353, allocations: 30.64 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.6353, allocations: 93.22 kB / 1.027 GB, free: 55.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.6353, allocations: 13.59 kB / 1.027 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-06/0.6353, allocations: 0 / 1.027 GB, free: 55.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.6354, allocations: 325.3 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.983e-05/0.6355, allocations: 29.53 kB / 1.027 GB, free: 54.94 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.6356, allocations: 51.33 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.6358, allocations: 87.44 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6359, allocations: 0 / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002384/0.6361, allocations: 118.7 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.6361, allocations: 7.781 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6361, allocations: 1 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6362, allocations: 4 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.6362, allocations: 12.58 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.6363, allocations: 1.375 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.386e-05/0.6363, allocations: 15.12 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.6364, allocations: 2.75 kB / 1.027 GB, free: 54.79 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 6.809e-05/0.6364, allocations: 126.6 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.6364, allocations: 7.578 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.6365, allocations: 10.59 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.6365, allocations: 1.375 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.6365, allocations: 0 / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6365, allocations: 4.328 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.6369, allocations: 387 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6369, allocations: 4.25 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.6369, allocations: 7.25 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6369, allocations: 0 / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.637, allocations: 2.625 kB / 1.028 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.637, allocations: 5.094 kB / 1.028 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.637, allocations: 3.938 kB / 1.028 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.6372, allocations: 220 kB / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.6373, allocations: 80.72 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.6373, allocations: 6.562 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.6374, allocations: 4.094 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.6374, allocations: 13.36 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.6374, allocations: 2.469 kB / 1.028 GB, free: 54.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.585e-05/0.6375, allocations: 98.06 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6375, allocations: 0 / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002645/0.6378, allocations: 39.58 kB / 1.028 GB, free: 53.95 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.0003171/0.6381, allocations: 178.9 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.6383, allocations: 82.38 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6383, allocations: 0 / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.481e-05/0.6384, allocations: 39.14 kB / 1.028 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.6387, allocations: 4.922 kB / 1.028 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.639, allocations: 218.8 kB / 1.029 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.6391, allocations: 0.6873 MB / 1.029 GB, free: 52.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.6392, allocations: 5.844 kB / 1.029 GB, free: 52.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.6392, allocations: 10.66 kB / 1.029 GB, free: 52.94 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.6392, allocations: 0 / 1.029 GB, free: 52.94 MB / 0.698 GB Notification: Performance of Templates: time 0.003889/0.6431, allocations: 1.365 MB / 1.031 GB, free: 52.81 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)