Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") 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.556/1.556, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.001242/0.001241, allocations: 182.4 kB / 330.8 MB, free: 472 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.615/1.615, allocations: 225.7 MB / 0.6016 GB, free: 1.5 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.0008495/0.0008494, allocations: 107.5 kB / 0.709 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003808, allocations: 9.875 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1929, allocations: 109.2 MB / 0.9327 GB, free: 6.234 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.001945/0.195, allocations: 1.79 MB / 0.9345 GB, free: 4.43 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.003615/0.1986, allocations: 4.34 MB / 0.9387 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1987, allocations: 0 / 0.9387 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.199, allocations: 51.62 kB / 0.9388 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.1994, allocations: 107.3 kB / 0.9389 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.1997, allocations: 131.7 kB / 0.939 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000346/0.2001, allocations: 286.9 kB / 0.9393 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.2003, allocations: 64.58 kB / 0.9393 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.2005, allocations: 119.5 kB / 0.9395 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.2007, allocations: 131.4 kB / 0.9396 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.2007, allocations: 12 kB / 0.9396 GB, free: 15 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.201, allocations: 119.8 kB / 0.9397 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.2011, allocations: 47.77 kB / 0.9398 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.2012, allocations: 133 kB / 0.9399 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.2016, allocations: 314.9 kB / 0.9402 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2016, allocations: 4 kB / 0.9402 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2016, allocations: 0 / 0.9402 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2016, allocations: 0 / 0.9402 GB, free: 14.39 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001167/0.2028, allocations: 0.6232 MB / 0.9408 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2028, allocations: 11.98 kB / 0.9408 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008235/0.2037, allocations: 164.4 kB / 0.941 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007131/0.2044, allocations: 340.2 kB / 0.9413 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.2044, allocations: 8.562 kB / 0.9413 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.2045, allocations: 11.94 kB / 0.9413 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007187/0.2052, allocations: 249.5 kB / 0.9415 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2052, allocations: 4 kB / 0.9416 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.2052, allocations: 4 kB / 0.9416 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2052, allocations: 0 / 0.9416 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.2063, allocations: 347.6 kB / 0.9419 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2076, allocations: 0.5941 MB / 0.9425 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.2081, allocations: 194.4 kB / 0.9427 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.2086, allocations: 184.7 kB / 0.9428 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008981/0.2096, allocations: 0.5808 MB / 0.9434 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.2096, allocations: 34.56 kB / 0.9434 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.2096, allocations: 0 / 0.9434 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.001676/0.2113, allocations: 0.575 MB / 0.944 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.2113, allocations: 51.41 kB / 0.944 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.2116, allocations: 264.5 kB / 0.9443 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.2116, allocations: 29.7 kB / 0.9443 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2117, allocations: 148 kB / 0.9445 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.2118, allocations: 47.3 kB / 0.9445 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.2118, allocations: 4 kB / 0.9445 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2119, allocations: 338.8 kB / 0.9448 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/0.2125, allocations: 179.9 kB / 0.945 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.213, allocations: 179.8 kB / 0.9452 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009845/0.214, allocations: 344.6 kB / 0.9455 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.214, allocations: 0 / 0.9455 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001139/0.2151, allocations: 433 kB / 0.9459 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2152, allocations: 4 kB / 0.9459 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2152, allocations: 0 / 0.9459 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2152, allocations: 8 kB / 0.9459 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.2157, allocations: 79.92 kB / 0.946 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.2157, allocations: 0 / 0.946 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.216, allocations: 63.78 kB / 0.9461 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.2161, allocations: 4 kB / 0.9461 GB, free: 8.027 MB / 0.5886 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.0001372/0.2162, allocations: 139 kB / 0.9462 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.2163, allocations: 27.62 kB / 0.9462 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.2175, allocations: 439.3 kB / 0.9466 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2175, allocations: 0 / 0.9466 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2175, allocations: 0 / 0.9466 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2175, allocations: 7.922 kB / 0.9467 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.2179, allocations: 305.3 kB / 0.9469 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2179, allocations: 4 kB / 0.947 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.2183, allocations: 79.8 kB / 0.947 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2183, allocations: 4 kB / 0.947 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.2184, allocations: 11.98 kB / 0.947 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2184, allocations: 0 / 0.947 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2184, allocations: 0 / 0.947 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.2195, allocations: 0.495 MB / 0.9475 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.2196, allocations: 120.8 kB / 0.9476 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.2197, allocations: 8 kB / 0.9476 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.22, allocations: 47.95 kB / 0.9477 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/0.2201, allocations: 19.97 kB / 0.9477 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.2201, allocations: 7.922 kB / 0.9477 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001644/0.2203, allocations: 191.1 kB / 0.9479 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.814e-06/0.2203, allocations: 0 / 0.9479 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003291/0.2207, allocations: 71.88 kB / 0.948 GB, free: 5.98 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 (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.0002495/0.2209, allocations: 135.2 kB / 0.9481 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.2221, allocations: 384.1 kB / 0.9485 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2221, allocations: 0 / 0.9485 GB, free: 5.461 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005384/0.2226, allocations: 191.9 kB / 0.9486 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.223, allocations: 32.98 kB / 0.9487 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2241, allocations: 0.6017 MB / 0.9493 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.2244, allocations: 0.7477 MB / 0.95 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0002639/0.2247, allocations: 45.39 kB / 0.95 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.2248, allocations: 23.41 kB / 0.9501 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.2248, allocations: 0 / 0.9501 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of Templates: time 0.006055/0.2309, allocations: 2.92 MB / 0.9529 GB, free: 0.875 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)