Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.661/1.661, 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.001107/0.001107, allocations: 171.5 kB / 393.1 MB, free: 4.07 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.34/1.34, allocations: 225.7 MB / 0.6743 GB, free: 12.53 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.000736/0.0007361, allocations: 98.86 kB / 0.7935 GB, free: 39.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003351, allocations: 8 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5496/0.5499, allocations: 121.3 MB / 1.041 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001789/0.5518, allocations: 1.674 MB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003227/0.555, allocations: 4.091 MB / 1.046 GB, free: 53.83 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.507e-05/0.5551, allocations: 0 / 1.046 GB, free: 53.83 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.5553, allocations: 48.47 kB / 1.047 GB, free: 53.81 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.5556, allocations: 101.2 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.5558, allocations: 107.2 kB / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.5561, allocations: 247.6 kB / 1.047 GB, free: 53.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.5562, allocations: 41.84 kB / 1.047 GB, free: 53.58 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.5564, allocations: 103.5 kB / 1.047 GB, free: 53.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.5565, allocations: 98.69 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.5566, allocations: 9.5 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.5567, allocations: 102.3 kB / 1.047 GB, free: 53.47 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.5568, allocations: 42.28 kB / 1.047 GB, free: 53.45 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.513e-05/0.5569, allocations: 111.7 kB / 1.047 GB, free: 53.36 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.5572, allocations: 264.4 kB / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5572, allocations: 0 / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5572, allocations: 0 / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.5572, allocations: 0.5938 kB / 1.048 GB, free: 53.27 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00093/0.5581, allocations: 0.5731 MB / 1.048 GB, free: 52.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.5582, allocations: 9.125 kB / 1.048 GB, free: 52.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.5582, allocations: 29.59 kB / 1.048 GB, free: 52.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.5586, allocations: 270.7 kB / 1.049 GB, free: 52.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.5586, allocations: 11.88 kB / 1.049 GB, free: 52.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.5586, allocations: 6.703 kB / 1.049 GB, free: 52.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.5591, allocations: 195.1 kB / 1.049 GB, free: 52.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.5591, allocations: 4.844 kB / 1.049 GB, free: 52.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.5591, allocations: 4.938 kB / 1.049 GB, free: 52.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.5592, allocations: 2.281 kB / 1.049 GB, free: 52.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006715/0.5598, allocations: 231.3 kB / 1.049 GB, free: 52.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.5606, allocations: 0.4977 MB / 1.049 GB, free: 52.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.561, allocations: 142.4 kB / 1.05 GB, free: 52.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.5614, allocations: 134.2 kB / 1.05 GB, free: 51.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007343/0.5621, allocations: 0.5743 MB / 1.05 GB, free: 51.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.5621, allocations: 30.56 kB / 1.05 GB, free: 51.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.5621, allocations: 3.656 kB / 1.05 GB, free: 51.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001128/0.5633, allocations: 416 kB / 1.051 GB, free: 51.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.5633, allocations: 51.62 kB / 1.051 GB, free: 51.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.5635, allocations: 240.8 kB / 1.051 GB, free: 51.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.5635, allocations: 29.64 kB / 1.051 GB, free: 51.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.5636, allocations: 145.5 kB / 1.051 GB, free: 50.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.5636, allocations: 36.53 kB / 1.051 GB, free: 50.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.5636, allocations: 4 kB / 1.051 GB, free: 50.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.5637, allocations: 330.3 kB / 1.052 GB, free: 50.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.564, allocations: 122.6 kB / 1.052 GB, free: 50.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.5644, allocations: 113.4 kB / 1.052 GB, free: 50.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.565, allocations: 244.4 kB / 1.052 GB, free: 50.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5651, allocations: 0 / 1.052 GB, free: 50.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000763/0.5658, allocations: 294.4 kB / 1.052 GB, free: 50.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5659, allocations: 8.531 kB / 1.052 GB, free: 50.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5659, allocations: 5.25 kB / 1.052 GB, free: 50.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.5659, allocations: 0 / 1.052 GB, free: 50.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.5662, allocations: 57.5 kB / 1.052 GB, free: 50.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5662, allocations: 5.125 kB / 1.052 GB, free: 50.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.5665, allocations: 41.95 kB / 1.052 GB, free: 50.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.5665, allocations: 11.97 kB / 1.052 GB, free: 50.31 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.833e-05/0.5666, allocations: 125.8 kB / 1.053 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.5667, allocations: 22.25 kB / 1.053 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008702/0.5675, allocations: 330.1 kB / 1.053 GB, free: 50.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5675, allocations: 3.531 kB / 1.053 GB, free: 50.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5676, allocations: 3.938 kB / 1.053 GB, free: 50.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5676, allocations: 3.469 kB / 1.053 GB, free: 50.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.5678, allocations: 279.2 kB / 1.053 GB, free: 49.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5678, allocations: 0 / 1.053 GB, free: 49.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.5681, allocations: 61.88 kB / 1.053 GB, free: 49.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5681, allocations: 3.938 kB / 1.053 GB, free: 49.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.5682, allocations: 7.797 kB / 1.053 GB, free: 49.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5682, allocations: 0 / 1.053 GB, free: 49.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5682, allocations: 5.062 kB / 1.053 GB, free: 49.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007939/0.569, allocations: 401 kB / 1.054 GB, free: 49.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.5691, allocations: 111.5 kB / 1.054 GB, free: 49.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.5691, allocations: 6.25 kB / 1.054 GB, free: 49.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.5694, allocations: 36.17 kB / 1.054 GB, free: 49.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.5694, allocations: 18.47 kB / 1.054 GB, free: 49.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.5695, allocations: 5.797 kB / 1.054 GB, free: 49.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000121/0.5696, allocations: 172.4 kB / 1.054 GB, free: 49.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5696, allocations: 0 / 1.054 GB, free: 49.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002999/0.5699, allocations: 59.83 kB / 1.054 GB, free: 49.37 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 (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 Backend phase and start with SimCode phase: time 0.0002009/0.5701, allocations: 129.8 kB / 1.054 GB, free: 49.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007658/0.5709, allocations: 260.1 kB / 1.054 GB, free: 49.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5709, allocations: 0 / 1.054 GB, free: 49.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.5713, allocations: 139 kB / 1.054 GB, free: 49.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.5717, allocations: 33.95 kB / 1.055 GB, free: 49.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007191/0.5724, allocations: 0.4944 MB / 1.055 GB, free: 48.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.5726, allocations: 0.7382 MB / 1.056 GB, free: 48.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.5727, allocations: 32.62 kB / 1.056 GB, free: 48.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.5728, allocations: 24.38 kB / 1.056 GB, free: 48.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/0.5728, allocations: 4 kB / 1.056 GB, free: 48.15 MB / 0.698 GB Notification: Performance of Templates: time 0.005189/0.578, allocations: 2.359 MB / 1.058 GB, free: 47.97 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)