Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.692/1.692, allocations: 306.1 MB / 321.4 MB, free: 10.71 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.001104/0.001104, allocations: 171.5 kB / 393.1 MB, free: 4.035 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.369/1.369, allocations: 225.7 MB / 0.6743 GB, free: 12.58 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.0007661/0.000766, allocations: 99.56 kB / 0.7935 GB, free: 40.18 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 16 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5155/0.5159, allocations: 121.3 MB / 1.041 GB, free: 58.81 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.001964/0.5179, allocations: 1.786 MB / 1.043 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003586/0.5215, allocations: 4.339 MB / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.5216, allocations: 7.5 kB / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.5218, allocations: 46.2 kB / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.5222, allocations: 126.2 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.5225, allocations: 121.7 kB / 1.047 GB, free: 53.96 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.5228, allocations: 296.2 kB / 1.047 GB, free: 53.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.523, allocations: 52.06 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.5232, allocations: 118.8 kB / 1.048 GB, free: 53.76 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.5233, allocations: 132.5 kB / 1.048 GB, free: 53.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.5234, allocations: 13.44 kB / 1.048 GB, free: 53.7 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.5236, allocations: 118.2 kB / 1.048 GB, free: 53.67 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.5237, allocations: 50.81 kB / 1.048 GB, free: 53.64 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.5238, allocations: 126.2 kB / 1.048 GB, free: 53.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.5241, allocations: 318.3 kB / 1.048 GB, free: 53.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5242, allocations: 1.812 kB / 1.048 GB, free: 53.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.845e-06/0.5242, allocations: 3.469 kB / 1.048 GB, free: 53.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5242, allocations: 0 / 1.048 GB, free: 53.44 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001077/0.5253, allocations: 0.6208 MB / 1.049 GB, free: 52.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.5253, allocations: 9.75 kB / 1.049 GB, free: 52.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008252/0.5261, allocations: 158.9 kB / 1.049 GB, free: 52.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/0.5268, allocations: 336.1 kB / 1.049 GB, free: 52.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.5268, allocations: 13.12 kB / 1.049 GB, free: 52.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.5268, allocations: 14.75 kB / 1.049 GB, free: 52.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.5275, allocations: 248.9 kB / 1.05 GB, free: 52.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.5275, allocations: 0 / 1.05 GB, free: 52.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.5275, allocations: 6.375 kB / 1.05 GB, free: 52.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.5275, allocations: 1.969 kB / 1.05 GB, free: 52.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009637/0.5285, allocations: 341.3 kB / 1.05 GB, free: 52.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.5298, allocations: 0.5972 MB / 1.051 GB, free: 52.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005615/0.5303, allocations: 201.8 kB / 1.051 GB, free: 52.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.5308, allocations: 185.2 kB / 1.051 GB, free: 52.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007508/0.5316, allocations: 0.5718 MB / 1.052 GB, free: 51.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.5316, allocations: 40.08 kB / 1.052 GB, free: 51.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.5317, allocations: 0 / 1.052 GB, free: 51.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.001682/0.5333, allocations: 0.5604 MB / 1.052 GB, free: 51.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.5334, allocations: 52.84 kB / 1.052 GB, free: 51.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.5336, allocations: 263 kB / 1.052 GB, free: 51.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.5336, allocations: 29.7 kB / 1.052 GB, free: 51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.5337, allocations: 153.7 kB / 1.053 GB, free: 50.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.5338, allocations: 42.83 kB / 1.053 GB, free: 50.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.5338, allocations: 5.062 kB / 1.053 GB, free: 50.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.045e-05/0.5338, allocations: 341.6 kB / 1.053 GB, free: 50.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/0.5343, allocations: 175.8 kB / 1.053 GB, free: 50.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.5348, allocations: 182.3 kB / 1.053 GB, free: 50.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009458/0.5358, allocations: 347.5 kB / 1.054 GB, free: 50.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5358, allocations: 0 / 1.054 GB, free: 50.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001079/0.5369, allocations: 430.2 kB / 1.054 GB, free: 50.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5369, allocations: 4.688 kB / 1.054 GB, free: 50.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.5369, allocations: 2.281 kB / 1.054 GB, free: 50.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.537, allocations: 0 / 1.054 GB, free: 50.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.5374, allocations: 86.61 kB / 1.054 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5374, allocations: 1.922 kB / 1.054 GB, free: 50.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.5378, allocations: 64.06 kB / 1.054 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.5378, allocations: 9.156 kB / 1.054 GB, free: 50.17 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 (17): * Single equations (assignments): 17 * 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 0.0001071/0.5379, allocations: 130.3 kB / 1.054 GB, free: 50.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.538, allocations: 25.75 kB / 1.054 GB, free: 50.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.5392, allocations: 444.2 kB / 1.055 GB, free: 49.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.5392, allocations: 2.438 kB / 1.055 GB, free: 49.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5392, allocations: 1 kB / 1.055 GB, free: 49.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5392, allocations: 3.938 kB / 1.055 GB, free: 49.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.5395, allocations: 306.6 kB / 1.055 GB, free: 49.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5395, allocations: 4 kB / 1.055 GB, free: 49.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.5399, allocations: 77.05 kB / 1.055 GB, free: 49.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5399, allocations: 0 / 1.055 GB, free: 49.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.5399, allocations: 7.297 kB / 1.055 GB, free: 49.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.54, allocations: 0.5938 kB / 1.055 GB, free: 49.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.54, allocations: 2.438 kB / 1.055 GB, free: 49.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.5411, allocations: 0.5014 MB / 1.056 GB, free: 49.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.876e-05/0.5412, allocations: 124.2 kB / 1.056 GB, free: 49.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.5412, allocations: 3.188 kB / 1.056 GB, free: 49.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.5416, allocations: 53.92 kB / 1.056 GB, free: 49.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.5417, allocations: 21.45 kB / 1.056 GB, free: 49.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.5417, allocations: 11.19 kB / 1.056 GB, free: 49.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001405/0.5419, allocations: 180.6 kB / 1.056 GB, free: 49.15 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5419, allocations: 3.938 kB / 1.056 GB, free: 49.15 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003293/0.5422, allocations: 64.72 kB / 1.056 GB, free: 49.14 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 (13): * Single equations (assignments): 13 * 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.0002026/0.5424, allocations: 145.4 kB / 1.056 GB, free: 49.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.5435, allocations: 384.2 kB / 1.057 GB, free: 48.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5435, allocations: 2.094 kB / 1.057 GB, free: 48.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.5441, allocations: 192.1 kB / 1.057 GB, free: 48.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.5445, allocations: 30.2 kB / 1.057 GB, free: 48.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009983/0.5455, allocations: 0.5987 MB / 1.057 GB, free: 48.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.5457, allocations: 0.7429 MB / 1.058 GB, free: 47.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002552/0.546, allocations: 47.33 kB / 1.058 GB, free: 47.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.372e-05/0.5461, allocations: 16.22 kB / 1.058 GB, free: 47.83 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.5461, allocations: 7.125 kB / 1.058 GB, free: 47.82 MB / 0.698 GB Notification: Performance of Templates: time 0.005615/0.5517, allocations: 2.909 MB / 1.061 GB, free: 47.62 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)