Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 297.4 MB / 312.6 MB, free: 2.883 MB / 234.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.001061/0.001061, allocations: 189.5 kB / 382.3 MB, free: 14.8 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.559/1.559, allocations: 225.7 MB / 0.6617 GB, free: 7.215 MB / 490.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.0008768/0.0008767, allocations: 100.3 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004037, allocations: 12 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9531/0.9535, allocations: 119.2 MB / 1.022 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.00169/0.9553, allocations: 0.538 MB / 1.023 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001578/0.9555, allocations: 56.3 kB / 1.023 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.9555, allocations: 0 / 1.023 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.484e-05/0.9556, allocations: 5.344 kB / 1.023 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.9557, allocations: 5.188 kB / 1.023 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.835e-05/0.9558, allocations: 16.86 kB / 1.023 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.9559, allocations: 63.98 kB / 1.023 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.9561, allocations: 39.2 kB / 1.023 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.9562, allocations: 27.64 kB / 1.023 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.503e-05/0.9563, allocations: 19.84 kB / 1.023 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.9563, allocations: 2.25 kB / 1.023 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.9563, allocations: 2.562 kB / 1.023 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.9564, allocations: 13.78 kB / 1.023 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.9565, allocations: 53.48 kB / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.9566, allocations: 77.75 kB / 1.023 GB, free: 57.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.9566, allocations: 1.188 kB / 1.023 GB, free: 57.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9566, allocations: 3.656 kB / 1.023 GB, free: 57.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.9566, allocations: 0 / 1.023 GB, free: 57.39 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004714/0.9571, allocations: 374.4 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/0.9572, allocations: 12.22 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.781e-05/0.9573, allocations: 10 kB / 1.024 GB, free: 57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.9575, allocations: 195.4 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.9576, allocations: 8.281 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.9576, allocations: 9.031 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.9578, allocations: 99.77 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.9578, allocations: 192 / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.9579, allocations: 5.25 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.9579, allocations: 4.312 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.958, allocations: 35.61 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.9587, allocations: 450.5 kB / 1.024 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.839e-05/0.9588, allocations: 38.47 kB / 1.024 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.9589, allocations: 19.75 kB / 1.024 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.9589, allocations: 1.844 kB / 1.024 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.9589, allocations: 36.62 kB / 1.024 GB, free: 56.17 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.9589, allocations: 0.625 kB / 1.024 GB, free: 56.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002348/0.9592, allocations: 65.72 kB / 1.024 GB, free: 56.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.9592, allocations: 77.11 kB / 1.025 GB, free: 56.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.9594, allocations: 176.8 kB / 1.025 GB, free: 55.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.9594, allocations: 25.7 kB / 1.025 GB, free: 55.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.9595, allocations: 110.5 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.059e-05/0.9595, allocations: 5.219 kB / 1.025 GB, free: 55.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.9595, allocations: 0 / 1.025 GB, free: 55.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.024e-05/0.9596, allocations: 322.5 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.583e-05/0.9597, allocations: 8.516 kB / 1.025 GB, free: 55.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.9597, allocations: 21.69 kB / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.95e-05/0.9598, allocations: 33.53 kB / 1.025 GB, free: 55.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9598, allocations: 0 / 1.025 GB, free: 55.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001121/0.9599, allocations: 60.33 kB / 1.025 GB, free: 55.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.9599, allocations: 5.406 kB / 1.025 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.9599, allocations: 4.688 kB / 1.025 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.96, allocations: 1.125 kB / 1.025 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.9601, allocations: 6.469 kB / 1.025 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.9601, allocations: 6.562 kB / 1.025 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.9601, allocations: 10.28 kB / 1.025 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.9601, allocations: 1.062 kB / 1.025 GB, free: 55.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.469e-05/0.9602, allocations: 117.9 kB / 1.025 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.9603, allocations: 13.06 kB / 1.025 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.9603, allocations: 19.95 kB / 1.025 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9604, allocations: 0 / 1.025 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9604, allocations: 1.031 kB / 1.025 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.9604, allocations: 1.281 kB / 1.025 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.9608, allocations: 475.5 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9608, allocations: 0 / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.9608, allocations: 7.406 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.9609, allocations: 5.188 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.9609, allocations: 1.844 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.9609, allocations: 1.062 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.9609, allocations: 2.625 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.237e-05/0.961, allocations: 86.06 kB / 1.026 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.9611, allocations: 95.62 kB / 1.026 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.9611, allocations: 6.156 kB / 1.026 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.9611, allocations: 0 / 1.026 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.9612, allocations: 2.219 kB / 1.026 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.9612, allocations: 1.375 kB / 1.026 GB, free: 54.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001342/0.9613, allocations: 124.1 kB / 1.026 GB, free: 54.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9613, allocations: 0 / 1.026 GB, free: 54.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002672/0.9616, allocations: 11.47 kB / 1.026 GB, free: 54.42 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001246/0.9617, allocations: 107.7 kB / 1.026 GB, free: 54.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.9618, allocations: 21.75 kB / 1.026 GB, free: 54.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9619, allocations: 0 / 1.026 GB, free: 54.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.865e-05/0.9619, allocations: 5.438 kB / 1.026 GB, free: 54.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.9621, allocations: 14.58 kB / 1.026 GB, free: 54.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.9625, allocations: 192.5 kB / 1.027 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.9627, allocations: 0.6957 MB / 1.027 GB, free: 53.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.747e-05/0.9627, allocations: 7.047 kB / 1.027 GB, free: 53.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.9628, allocations: 15.86 kB / 1.027 GB, free: 53.43 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/0.9628, allocations: 0 / 1.027 GB, free: 53.43 MB / 0.698 GB Notification: Performance of Templates: time 0.00336/0.9661, allocations: 457.4 kB / 1.028 GB, free: 53.37 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)