Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.755/1.755, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.001014/0.001014, allocations: 183.2 kB / 393.1 MB, free: 4.094 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.508/1.508, allocations: 225.7 MB / 0.6743 GB, free: 12.55 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.0007618/0.0007616, allocations: 94.52 kB / 0.7935 GB, free: 39.97 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004981, allocations: 9.938 kB / 0.9224 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6557/0.6562, allocations: 121.3 MB / 1.041 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002264/0.6585, allocations: 1.193 MB / 1.042 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.6603, allocations: 0.9915 MB / 1.043 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.6604, allocations: 1.969 kB / 1.043 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.6604, allocations: 5.562 kB / 1.043 GB, free: 56.44 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.157e-05/0.6605, allocations: 6.859 kB / 1.043 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.6612, allocations: 106.6 kB / 1.043 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.6614, allocations: 75.61 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.6615, allocations: 13.66 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.6617, allocations: 33.14 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.6618, allocations: 30.84 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.6618, allocations: 3.375 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000256/0.6621, allocations: 84.59 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.6621, allocations: 13.88 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.504e-05/0.6622, allocations: 58.66 kB / 1.043 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.6625, allocations: 136.9 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.6626, allocations: 0 / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6626, allocations: 1.719 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.6626, allocations: 0 / 1.044 GB, free: 56.2 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.0006733/0.6633, allocations: 413.4 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.6633, allocations: 16.34 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.6634, allocations: 8.469 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.6635, allocations: 171.2 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.6635, allocations: 3.234 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.6636, allocations: 8.094 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.6638, allocations: 80.19 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.6639, allocations: 0 / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.6639, allocations: 4.844 kB / 1.044 GB, free: 55.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.6639, allocations: 5.125 kB / 1.044 GB, free: 55.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.6641, allocations: 43.28 kB / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.6647, allocations: 317.2 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.6649, allocations: 57.02 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.665, allocations: 35.61 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.6651, allocations: 3.938 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.6653, allocations: 82.72 kB / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.6653, allocations: 0 / 1.045 GB, free: 55.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004829/0.6658, allocations: 142.7 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.6658, allocations: 56.14 kB / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.6659, allocations: 125 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.666, allocations: 29.11 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.666, allocations: 92.06 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.6661, allocations: 20.44 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.6661, allocations: 0 / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.6661, allocations: 325.5 kB / 1.045 GB, free: 54.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.6663, allocations: 32.88 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.6664, allocations: 52.41 kB / 1.046 GB, free: 54.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.6666, allocations: 77.91 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.6666, allocations: 1.281 kB / 1.046 GB, free: 54.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003103/0.6669, allocations: 124.5 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.667, allocations: 7.281 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.667, allocations: 0 / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.667, allocations: 0.8906 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.6671, allocations: 14.23 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.6671, allocations: 0 / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.732e-05/0.6672, allocations: 14.89 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.6673, allocations: 3.797 kB / 1.046 GB, free: 54.25 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 9.388e-05/0.6674, allocations: 125.8 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.6674, allocations: 6.625 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.6674, allocations: 8.281 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.6674, allocations: 3.938 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6674, allocations: 0 / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6675, allocations: 3.562 kB / 1.046 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.668, allocations: 387.1 kB / 1.046 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.668, allocations: 0 / 1.046 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/0.668, allocations: 6.094 kB / 1.046 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.668, allocations: 0 / 1.046 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.6681, allocations: 12.75 kB / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.6681, allocations: 0 / 1.046 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.6681, allocations: 7.875 kB / 1.046 GB, free: 53.76 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.6684, allocations: 216.1 kB / 1.047 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.6685, allocations: 84.19 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.6685, allocations: 3.188 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.6686, allocations: 5.109 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.6687, allocations: 12.11 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.6687, allocations: 2.875 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.6687, allocations: 97.77 kB / 1.047 GB, free: 53.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6688, allocations: 3.938 kB / 1.047 GB, free: 53.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004211/0.6692, allocations: 33.55 kB / 1.047 GB, free: 53.41 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.0004309/0.6696, allocations: 187.2 kB / 1.047 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.6699, allocations: 77.16 kB / 1.047 GB, free: 53.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6699, allocations: 0 / 1.047 GB, free: 53.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.6701, allocations: 46.3 kB / 1.047 GB, free: 53.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.6704, allocations: 10.72 kB / 1.047 GB, free: 53.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.6709, allocations: 214 kB / 1.047 GB, free: 53.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.6711, allocations: 0.6883 MB / 1.048 GB, free: 52.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.953e-05/0.6711, allocations: 9.797 kB / 1.048 GB, free: 52.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.6712, allocations: 9.969 kB / 1.048 GB, free: 52.38 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/0.6712, allocations: 0 / 1.048 GB, free: 52.38 MB / 0.698 GB Notification: Performance of Templates: time 0.005193/0.6764, allocations: 1.358 MB / 1.049 GB, free: 52.25 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)