Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.529/2.529, allocations: 255 MB / 269.9 MB, free: 9.629 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.001305/0.001305, allocations: 191.8 kB / 329.5 MB, free: 1.16 MB / 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 2.323/2.323, allocations: 225.6 MB / 0.6001 GB, free: 0.5273 MB / 426.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.0009939/0.0009938, allocations: 93.98 kB / 0.7074 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.0004841, allocations: 11.91 kB / 0.8242 GB, free: 125 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2079, allocations: 109.1 MB / 0.9308 GB, free: 24.91 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001805/0.2098, allocations: 1.24 MB / 0.932 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.2099, allocations: 27.86 kB / 0.932 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.21, allocations: 11.94 kB / 0.932 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.2101, allocations: 11.86 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.2101, allocations: 7.922 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.2103, allocations: 15.98 kB / 0.932 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.303e-05/0.2104, allocations: 43.91 kB / 0.9321 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.2105, allocations: 35.83 kB / 0.9321 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.2105, allocations: 15.92 kB / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.975e-05/0.2106, allocations: 15.92 kB / 0.9321 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.2106, allocations: 4 kB / 0.9322 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.2107, allocations: 0 / 0.9322 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.2107, allocations: 15.92 kB / 0.9322 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.2107, allocations: 33.7 kB / 0.9322 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.577e-05/0.2108, allocations: 36.2 kB / 0.9322 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2108, allocations: 4 kB / 0.9322 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.544e-06/0.2109, allocations: 0 / 0.9322 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2109, allocations: 0 / 0.9322 GB, free: 23.38 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.0003339/0.2112, allocations: 355.4 kB / 0.9326 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2113, allocations: 8.031 kB / 0.9326 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.2113, allocations: 8.844 kB / 0.9326 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.2115, allocations: 184.2 kB / 0.9328 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.2115, allocations: 4.375 kB / 0.9328 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.2115, allocations: 8.375 kB / 0.9328 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.2117, allocations: 100.7 kB / 0.9329 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2117, allocations: 4.188 kB / 0.9329 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.2118, allocations: 7.938 kB / 0.9329 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2118, allocations: 4 kB / 0.9329 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.2119, allocations: 43.91 kB / 0.9329 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.2125, allocations: 0.6479 MB / 0.9336 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.782e-05/0.2126, allocations: 173.1 kB / 0.9337 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.2126, allocations: 80.14 kB / 0.9338 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.2126, allocations: 75.28 kB / 0.9339 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2127, allocations: 113.8 kB / 0.934 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.843e-06/0.2127, allocations: 0 / 0.934 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 7.938e-05/0.2128, allocations: 37.55 kB / 0.934 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.2128, allocations: 134.6 kB / 0.9342 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.213, allocations: 164.5 kB / 0.9343 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.213, allocations: 29.7 kB / 0.9343 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.2131, allocations: 96.05 kB / 0.9344 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.2131, allocations: 0 / 0.9344 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.2131, allocations: 8 kB / 0.9344 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.2132, allocations: 314.8 kB / 0.9347 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.2132, allocations: 8 kB / 0.9347 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.2132, allocations: 22.56 kB / 0.9348 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.504e-05/0.2133, allocations: 11.94 kB / 0.9348 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2133, allocations: 0 / 0.9348 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001356/0.2135, allocations: 57.55 kB / 0.9348 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2135, allocations: 4 kB / 0.9348 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2135, allocations: 4 kB / 0.9348 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2135, allocations: 3.938 kB / 0.9348 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.701e-05/0.2136, allocations: 7.984 kB / 0.9349 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2136, allocations: 0 / 0.9349 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.2137, allocations: 11.84 kB / 0.9349 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.2137, allocations: 3.938 kB / 0.9349 GB, free: 20.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/0.2138, allocations: 197.2 kB / 0.9351 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.2139, allocations: 108.9 kB / 0.9352 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.2139, allocations: 124.7 kB / 0.9353 GB, free: 19.99 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.559e-05/0.214, allocations: 180.2 kB / 0.9354 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.471e-05/0.214, allocations: 176.3 kB / 0.9356 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.561e-05/0.2141, allocations: 184.2 kB / 0.9358 GB, free: 19.44 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2143, allocations: 425.2 kB / 0.9362 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.251e-05/0.2143, allocations: 109 kB / 0.9363 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.041e-05/0.2143, allocations: 109.1 kB / 0.9364 GB, free: 18.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.431e-05/0.2144, allocations: 184.3 kB / 0.9366 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.2144, allocations: 184.1 kB / 0.9368 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.119e-05/0.2145, allocations: 180.3 kB / 0.9369 GB, free: 18.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.328e-05/0.2145, allocations: 184.2 kB / 0.9371 GB, free: 17.99 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.179e-05/0.2146, allocations: 311.7 kB / 0.9374 GB, free: 17.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.2147, allocations: 185.9 kB / 0.9376 GB, free: 17.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/0.2147, allocations: 192.2 kB / 0.9378 GB, free: 17.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/0.2148, allocations: 108.9 kB / 0.9379 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.2149, allocations: 176.3 kB / 0.938 GB, free: 16.97 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.2149, allocations: 105 kB / 0.9381 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001233/0.2151, allocations: 125.1 kB / 0.9383 GB, free: 16.74 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.7e-07/0.2151, allocations: 0 / 0.9383 GB, free: 16.74 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002751/0.2154, allocations: 8 kB / 0.9383 GB, free: 16.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.2155, allocations: 182.5 kB / 0.9384 GB, free: 16.54 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.603e-05/0.2156, allocations: 11.98 kB / 0.9384 GB, free: 16.53 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2156, allocations: 0 / 0.9384 GB, free: 16.53 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.2156, allocations: 4 kB / 0.9385 GB, free: 16.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.216, allocations: 0.5226 MB / 0.939 GB, free: 16 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.2164, allocations: 237.6 kB / 0.9392 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.2165, allocations: 0.7004 MB / 0.9399 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.644e-05/0.2166, allocations: 4 kB / 0.9399 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.2166, allocations: 11.44 kB / 0.9399 GB, free: 15 MB / 0.5886 GB Notification: Performance of SimCode: time 6.81e-07/0.2166, allocations: 3.938 kB / 0.9399 GB, free: 14.99 MB / 0.5886 GB Notification: Performance of Templates: time 0.002842/0.2195, allocations: 395.9 kB / 0.9403 GB, free: 14.61 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)