Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.507/1.507, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.0008436/0.0008436, allocations: 167.5 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.21/1.21, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0008085/0.0008086, allocations: 99.95 kB / 0.7935 GB, free: 39.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 8.688 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4538, allocations: 121.3 MB / 1.041 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001294/0.4551, allocations: 1.243 MB / 1.042 GB, free: 57.15 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 8.092e-05/0.4552, allocations: 34.7 kB / 1.042 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.4552, allocations: 2.312 kB / 1.042 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.099e-05/0.4553, allocations: 6.094 kB / 1.042 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.804e-05/0.4554, allocations: 6.031 kB / 1.042 GB, free: 57.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.674e-05/0.4554, allocations: 21.25 kB / 1.042 GB, free: 57.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.4555, allocations: 38.02 kB / 1.042 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.4556, allocations: 35.36 kB / 1.042 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.512e-05/0.4556, allocations: 14.42 kB / 1.042 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.4557, allocations: 22.59 kB / 1.042 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.4557, allocations: 1.375 kB / 1.042 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.096e-06/0.4557, allocations: 2.25 kB / 1.042 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/0.4558, allocations: 16.62 kB / 1.042 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.4558, allocations: 46.28 kB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 7.108e-05/0.4559, allocations: 55.27 kB / 1.042 GB, free: 57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4559, allocations: 1.344 kB / 1.042 GB, free: 57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4559, allocations: 3.938 kB / 1.042 GB, free: 57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.4559, allocations: 0 / 1.042 GB, free: 57 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002345/0.4562, allocations: 352.7 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.4562, allocations: 11.06 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.4562, allocations: 9.438 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.4563, allocations: 181.8 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.4563, allocations: 9.281 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.4564, allocations: 6.5 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.4565, allocations: 100.1 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.4565, allocations: 1.594 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.4565, allocations: 7.938 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4565, allocations: 0.9688 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.414e-05/0.4566, allocations: 41.17 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.457, allocations: 0.6425 MB / 1.044 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.262e-05/0.457, allocations: 167.6 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.132e-05/0.457, allocations: 80.14 kB / 1.044 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.457, allocations: 85.72 kB / 1.044 GB, free: 55.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.4571, allocations: 109.6 kB / 1.044 GB, free: 55.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4571, allocations: 0 / 1.044 GB, free: 55.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.473e-05/0.4571, allocations: 42.66 kB / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.4571, allocations: 127.2 kB / 1.044 GB, free: 55.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.4573, allocations: 164.1 kB / 1.044 GB, free: 54.94 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-06/0.4573, allocations: 27.33 kB / 1.044 GB, free: 54.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.4573, allocations: 107.4 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.4573, allocations: 7.875 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.4573, allocations: 0 / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.443e-05/0.4574, allocations: 323.1 kB / 1.045 GB, free: 54.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.4574, allocations: 4.344 kB / 1.045 GB, free: 54.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.4574, allocations: 26.22 kB / 1.045 GB, free: 54.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.4574, allocations: 27.95 kB / 1.045 GB, free: 54.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.4574, allocations: 0.9062 kB / 1.045 GB, free: 54.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.678e-05/0.4575, allocations: 58.75 kB / 1.045 GB, free: 54.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.4575, allocations: 10.5 kB / 1.045 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.4576, allocations: 0 / 1.045 GB, free: 54.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.4576, allocations: 5.5 kB / 1.045 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.443e-05/0.4576, allocations: 7.312 kB / 1.045 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.4576, allocations: 4.094 kB / 1.045 GB, free: 54.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.4577, allocations: 5.188 kB / 1.045 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.4577, allocations: 1.844 kB / 1.045 GB, free: 54.36 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: 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.262e-05/0.4577, allocations: 201.7 kB / 1.045 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.4578, allocations: 107.9 kB / 1.045 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/0.4578, allocations: 116.2 kB / 1.045 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.4578, allocations: 187.1 kB / 1.046 GB, free: 53.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.02e-05/0.4578, allocations: 177.8 kB / 1.046 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.4579, allocations: 178 kB / 1.046 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.458, allocations: 427.2 kB / 1.046 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.458, allocations: 101.6 kB / 1.046 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.321e-05/0.458, allocations: 113.7 kB / 1.047 GB, free: 52.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/0.458, allocations: 180.3 kB / 1.047 GB, free: 52.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.4581, allocations: 188.1 kB / 1.047 GB, free: 52.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.876e-05/0.4581, allocations: 181 kB / 1.047 GB, free: 52.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-05/0.4581, allocations: 176.5 kB / 1.047 GB, free: 51.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.289e-05/0.4582, allocations: 323.6 kB / 1.048 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.4582, allocations: 195.5 kB / 1.048 GB, free: 51.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.4582, allocations: 181.4 kB / 1.048 GB, free: 51.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.4583, allocations: 101.6 kB / 1.048 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.4583, allocations: 186.1 kB / 1.048 GB, free: 50.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.4584, allocations: 104.5 kB / 1.048 GB, free: 50.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.245e-05/0.4584, allocations: 127.5 kB / 1.048 GB, free: 50.78 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4584, allocations: 0 / 1.048 GB, free: 50.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000178/0.4586, allocations: 10.62 kB / 1.048 GB, free: 50.78 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: 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.502e-05/0.4587, allocations: 179.2 kB / 1.049 GB, free: 50.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.571e-05/0.4587, allocations: 14.56 kB / 1.049 GB, free: 50.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4587, allocations: 0 / 1.049 GB, free: 50.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.4588, allocations: 0.75 kB / 1.049 GB, free: 50.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.459, allocations: 0.5334 MB / 1.049 GB, free: 50.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.4592, allocations: 254.9 kB / 1.049 GB, free: 49.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.815e-05/0.4593, allocations: 0.6889 MB / 1.05 GB, free: 49.15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.4593, allocations: 6 kB / 1.05 GB, free: 49.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.4593, allocations: 11.34 kB / 1.05 GB, free: 49.14 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.4593, allocations: 0 / 1.05 GB, free: 49.14 MB / 0.698 GB Notification: Performance of Templates: time 0.001713/0.4611, allocations: 397.5 kB / 1.05 GB, free: 49.09 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)