Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.236/1.236, allocations: 255.9 MB / 271.2 MB, free: 8.91 MB / 218.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.0009015/0.0009016, allocations: 189.9 kB / 330.8 MB, free: 460 kB / 250.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.321/1.321, allocations: 225.7 MB / 0.6016 GB, free: 15.92 MB / 442.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.0007792/0.0007791, allocations: 95.56 kB / 0.709 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002869, allocations: 9.312 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1522, allocations: 109.2 MB / 0.9328 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001263/0.1535, allocations: 1.24 MB / 0.934 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 9.434e-05/0.1536, allocations: 31.91 kB / 0.934 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.1537, allocations: 3.938 kB / 0.934 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.288e-05/0.1538, allocations: 11.92 kB / 0.934 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.742e-05/0.1538, allocations: 4 kB / 0.934 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 8.107e-05/0.1539, allocations: 15.98 kB / 0.934 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.429e-05/0.154, allocations: 51.77 kB / 0.9341 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1541, allocations: 27.98 kB / 0.9341 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.637e-05/0.1541, allocations: 15.92 kB / 0.9341 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.1542, allocations: 23.86 kB / 0.9341 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.1542, allocations: 0 / 0.9341 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.1542, allocations: 4 kB / 0.9342 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.1543, allocations: 19.86 kB / 0.9342 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.1543, allocations: 45.58 kB / 0.9342 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.76e-05/0.1544, allocations: 52.02 kB / 0.9343 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1544, allocations: 0 / 0.9343 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1544, allocations: 0 / 0.9343 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.1544, allocations: 0 / 0.9343 GB, free: 22.55 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002327/0.1546, allocations: 359.4 kB / 0.9346 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.1547, allocations: 11.98 kB / 0.9346 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.1547, allocations: 8.844 kB / 0.9346 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.1548, allocations: 184.2 kB / 0.9348 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1548, allocations: 8.312 kB / 0.9348 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1548, allocations: 8.359 kB / 0.9348 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1549, allocations: 100.8 kB / 0.9349 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.155, allocations: 192 / 0.9349 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.155, allocations: 7.938 kB / 0.9349 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.155, allocations: 4 kB / 0.9349 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/0.155, allocations: 43.91 kB / 0.935 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.1554, allocations: 0.64 MB / 0.9356 GB, free: 21.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.1554, allocations: 173.1 kB / 0.9358 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.271e-05/0.1555, allocations: 84.08 kB / 0.9358 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-06/0.1555, allocations: 75.28 kB / 0.9359 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.1555, allocations: 105.8 kB / 0.936 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1555, allocations: 4 kB / 0.936 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.667e-05/0.1556, allocations: 37.62 kB / 0.9361 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.1556, allocations: 126.7 kB / 0.9362 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1557, allocations: 170.2 kB / 0.9363 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-06/0.1557, allocations: 25.7 kB / 0.9364 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.1558, allocations: 104 kB / 0.9365 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.1558, allocations: 0 / 0.9365 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-06/0.1558, allocations: 0 / 0.9365 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.858e-05/0.1558, allocations: 322.8 kB / 0.9368 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.1559, allocations: 7.938 kB / 0.9368 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.566e-05/0.1559, allocations: 26.56 kB / 0.9368 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.1559, allocations: 22.58 kB / 0.9368 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1559, allocations: 0 / 0.9368 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.978e-05/0.156, allocations: 61.53 kB / 0.9369 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.156, allocations: 7.906 kB / 0.9369 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.156, allocations: 4 kB / 0.9369 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.156, allocations: 11.81 kB / 0.9369 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.205e-05/0.1561, allocations: 4 kB / 0.9369 GB, free: 19.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1561, allocations: 3.984 kB / 0.9369 GB, free: 19.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.1561, allocations: 11.84 kB / 0.9369 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.1562, allocations: 3.938 kB / 0.9369 GB, free: 19.57 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.726e-05/0.1562, allocations: 202.4 kB / 0.9371 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.1563, allocations: 105 kB / 0.9372 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.1563, allocations: 124.5 kB / 0.9373 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.1563, allocations: 176.3 kB / 0.9375 GB, free: 18.94 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.196e-05/0.1563, allocations: 184.2 kB / 0.9377 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/0.1564, allocations: 180.3 kB / 0.9379 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.1565, allocations: 425.2 kB / 0.9383 GB, free: 18.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/0.1565, allocations: 109 kB / 0.9384 GB, free: 17.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.1565, allocations: 109 kB / 0.9385 GB, free: 17.87 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.382e-05/0.1566, allocations: 188.2 kB / 0.9386 GB, free: 17.68 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.1566, allocations: 180.2 kB / 0.9388 GB, free: 17.49 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.16e-05/0.1566, allocations: 180.3 kB / 0.939 GB, free: 17.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.313e-05/0.1567, allocations: 184.2 kB / 0.9392 GB, free: 17.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.195e-05/0.1567, allocations: 311.7 kB / 0.9395 GB, free: 16.79 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.1568, allocations: 186 kB / 0.9396 GB, free: 16.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.1568, allocations: 192.2 kB / 0.9398 GB, free: 16.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.478e-05/0.1569, allocations: 104.9 kB / 0.9399 GB, free: 16.28 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.1569, allocations: 176.3 kB / 0.9401 GB, free: 16.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1569, allocations: 108.9 kB / 0.9402 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.414e-05/0.157, allocations: 127.2 kB / 0.9403 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.157, allocations: 0 / 0.9403 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001915/0.1572, allocations: 8 kB / 0.9403 GB, free: 15.86 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 7.962e-05/0.1573, allocations: 178.5 kB / 0.9405 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.303e-05/0.1573, allocations: 8 kB / 0.9405 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1573, allocations: 0 / 0.9405 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.1573, allocations: 3.938 kB / 0.9405 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.1576, allocations: 0.5266 MB / 0.941 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.1578, allocations: 253.8 kB / 0.9413 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.729e-05/0.1579, allocations: 0.6926 MB / 0.9419 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.718e-05/0.158, allocations: 4 kB / 0.9419 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.158, allocations: 15.44 kB / 0.942 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of SimCode: time 2.81e-07/0.158, allocations: 0 / 0.942 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of Templates: time 0.001821/0.1598, allocations: 405.1 kB / 0.9423 GB, free: 13.72 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)