Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.746/1.746, allocations: 297.4 MB / 312.6 MB, free: 2.922 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.001055/0.001055, allocations: 186 kB / 382.3 MB, free: 14.84 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.517/1.517, allocations: 225.7 MB / 0.6617 GB, free: 7.207 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.0007564/0.0007567, allocations: 90.95 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.000374, allocations: 11.98 kB / 0.9058 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7793, allocations: 119.2 MB / 1.022 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001472/0.7808, allocations: 0.5365 MB / 1.023 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001581/0.781, allocations: 43.95 kB / 1.023 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.7811, allocations: 7.438 kB / 1.023 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.7811, allocations: 7.312 kB / 1.023 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.7813, allocations: 5.094 kB / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.646e-05/0.7813, allocations: 19.31 kB / 1.023 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.7815, allocations: 61.31 kB / 1.023 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.7818, allocations: 40.47 kB / 1.023 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.7819, allocations: 24.62 kB / 1.023 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.491e-05/0.782, allocations: 24.97 kB / 1.023 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.782, allocations: 2.125 kB / 1.023 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.782, allocations: 4.094 kB / 1.023 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.7821, allocations: 7.516 kB / 1.023 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.756e-05/0.7821, allocations: 58.22 kB / 1.023 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.7823, allocations: 79.39 kB / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.7824, allocations: 1 kB / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.757e-06/0.7824, allocations: 0 / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.7824, allocations: 0 / 1.023 GB, free: 57.41 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.0006766/0.7831, allocations: 370.5 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.843e-05/0.7832, allocations: 11.44 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.7832, allocations: 8.844 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.7836, allocations: 197.5 kB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.7836, allocations: 8.125 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.7837, allocations: 12.22 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.7839, allocations: 94.92 kB / 1.024 GB, free: 56.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.7839, allocations: 4.125 kB / 1.024 GB, free: 56.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.784, allocations: 9.281 kB / 1.024 GB, free: 56.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.784, allocations: 3.031 kB / 1.024 GB, free: 56.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.7841, allocations: 37.31 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.7849, allocations: 444.9 kB / 1.024 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.661e-05/0.785, allocations: 39.31 kB / 1.024 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/0.785, allocations: 21.12 kB / 1.024 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.785, allocations: 1.375 kB / 1.024 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.7851, allocations: 36.91 kB / 1.024 GB, free: 56.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.7851, allocations: 0 / 1.024 GB, free: 56.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002628/0.7854, allocations: 64.97 kB / 1.024 GB, free: 56.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.7854, allocations: 82.17 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.7856, allocations: 170.9 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.7857, allocations: 26.42 kB / 1.025 GB, free: 55.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.7857, allocations: 105.6 kB / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.7858, allocations: 6.344 kB / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.7858, allocations: 7.938 kB / 1.025 GB, free: 55.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.7859, allocations: 322.3 kB / 1.025 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.7859, allocations: 3.938 kB / 1.025 GB, free: 55.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.76e-05/0.786, allocations: 19.22 kB / 1.025 GB, free: 55.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.228e-05/0.7861, allocations: 30.77 kB / 1.025 GB, free: 55.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.7861, allocations: 0 / 1.025 GB, free: 55.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.029e-05/0.7862, allocations: 59.86 kB / 1.025 GB, free: 55.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.7862, allocations: 7.469 kB / 1.025 GB, free: 55.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.7862, allocations: 5.656 kB / 1.025 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.7862, allocations: 0 / 1.025 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.7863, allocations: 9.109 kB / 1.025 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.7863, allocations: 3.438 kB / 1.025 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/0.7864, allocations: 13.81 kB / 1.025 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.7864, allocations: 5.281 kB / 1.025 GB, free: 55.36 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 9.475e-05/0.7865, allocations: 116.7 kB / 1.025 GB, free: 55.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.7865, allocations: 8.875 kB / 1.025 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.7866, allocations: 19.77 kB / 1.025 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.7866, allocations: 3.703 kB / 1.025 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.7866, allocations: 4.797 kB / 1.025 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7866, allocations: 1.375 kB / 1.025 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.787, allocations: 477.7 kB / 1.026 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.787, allocations: 0 / 1.026 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.787, allocations: 4.734 kB / 1.026 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.7871, allocations: 2.75 kB / 1.026 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.7871, allocations: 1.375 kB / 1.026 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7871, allocations: 3.938 kB / 1.026 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7871, allocations: 1.984 kB / 1.026 GB, free: 54.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.382e-05/0.7872, allocations: 89.36 kB / 1.026 GB, free: 54.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.7872, allocations: 92.61 kB / 1.026 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.7873, allocations: 0 / 1.026 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.527e-05/0.7873, allocations: 2.172 kB / 1.026 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.7873, allocations: 1.375 kB / 1.026 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.7873, allocations: 4.609 kB / 1.026 GB, free: 54.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000106/0.7874, allocations: 125.2 kB / 1.026 GB, free: 54.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7875, allocations: 0 / 1.026 GB, free: 54.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002055/0.7877, allocations: 14.31 kB / 1.026 GB, free: 54.44 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.0001713/0.7878, allocations: 104.1 kB / 1.026 GB, free: 54.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.788, allocations: 25 kB / 1.026 GB, free: 54.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.788, allocations: 0 / 1.026 GB, free: 54.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.788, allocations: 5.531 kB / 1.026 GB, free: 54.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.7882, allocations: 10.52 kB / 1.026 GB, free: 54.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.7886, allocations: 196.6 kB / 1.027 GB, free: 54.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.7888, allocations: 0.6988 MB / 1.027 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.7889, allocations: 7.188 kB / 1.027 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.7889, allocations: 11.56 kB / 1.027 GB, free: 53.45 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.7889, allocations: 0 / 1.027 GB, free: 53.45 MB / 0.698 GB Notification: Performance of Templates: time 0.003158/0.7921, allocations: 462.3 kB / 1.028 GB, free: 53.39 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)