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_hp.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_hp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") 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.877/1.877, 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.001065/0.001065, allocations: 174.1 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.624/1.624, allocations: 225.7 MB / 0.6617 GB, free: 7.246 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.0008785/0.0008793, allocations: 88.22 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005343/0.0005346, allocations: 8 kB / 0.9058 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.7672, allocations: 119.2 MB / 1.022 GB, free: 58.08 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.00113/0.7684, allocations: 0.5323 MB / 1.023 GB, free: 57.83 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001184/0.7685, allocations: 44.38 kB / 1.023 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.7686, allocations: 1.875 kB / 1.023 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.7686, allocations: 9.438 kB / 1.023 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.681e-05/0.7687, allocations: 8.688 kB / 1.023 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.645e-05/0.7688, allocations: 18.03 kB / 1.023 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.7689, allocations: 61.36 kB / 1.023 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.7691, allocations: 38.52 kB / 1.023 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.696e-05/0.7692, allocations: 24.89 kB / 1.023 GB, free: 57.72 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.7692, allocations: 23.92 kB / 1.023 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.7693, allocations: 1.594 kB / 1.023 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-06/0.7693, allocations: 3.469 kB / 1.023 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.7693, allocations: 12.58 kB / 1.023 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.7694, allocations: 60.97 kB / 1.023 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.7695, allocations: 73.52 kB / 1.023 GB, free: 57.63 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.7695, allocations: 4 kB / 1.023 GB, free: 57.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7695, allocations: 0 / 1.023 GB, free: 57.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.7695, allocations: 0 / 1.023 GB, free: 57.62 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.0003809/0.7699, allocations: 368.4 kB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.77, allocations: 9.625 kB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.77, allocations: 10.34 kB / 1.024 GB, free: 57.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.7702, allocations: 196.2 kB / 1.024 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.7702, allocations: 11.58 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.7702, allocations: 6.125 kB / 1.024 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.7704, allocations: 95.83 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.7704, allocations: 2.906 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.7704, allocations: 7.938 kB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.7705, allocations: 6.703 kB / 1.024 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.491e-05/0.7706, allocations: 43.33 kB / 1.024 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.7711, allocations: 444.7 kB / 1.024 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.938e-05/0.7711, allocations: 40.41 kB / 1.024 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.7712, allocations: 20.25 kB / 1.024 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.7712, allocations: 1.156 kB / 1.024 GB, free: 56.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.7712, allocations: 34.19 kB / 1.024 GB, free: 56.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.424e-06/0.7712, allocations: 0 / 1.024 GB, free: 56.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001834/0.7714, allocations: 65.61 kB / 1.024 GB, free: 56.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.7715, allocations: 83.55 kB / 1.025 GB, free: 56.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.7716, allocations: 171 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.7716, allocations: 29.17 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.7717, allocations: 102.2 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.016e-06/0.7717, allocations: 7.422 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.7717, allocations: 4 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.7718, allocations: 321.6 kB / 1.025 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.7718, allocations: 5 kB / 1.025 GB, free: 55.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.7719, allocations: 21.59 kB / 1.025 GB, free: 55.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.25e-05/0.7719, allocations: 29.86 kB / 1.025 GB, free: 55.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7719, allocations: 0 / 1.025 GB, free: 55.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.622e-05/0.772, allocations: 61.41 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.772, allocations: 4.406 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.772, allocations: 3.938 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.772, allocations: 2.188 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.7721, allocations: 7.25 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7721, allocations: 2.281 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.484e-05/0.7722, allocations: 14.44 kB / 1.025 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.7722, allocations: 8.406 kB / 1.025 GB, free: 55.58 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 8.244e-05/0.7723, allocations: 117.3 kB / 1.025 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.7723, allocations: 14.47 kB / 1.025 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.7724, allocations: 20.39 kB / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.7724, allocations: 2.406 kB / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7724, allocations: 0 / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.7724, allocations: 1.156 kB / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.7728, allocations: 476.9 kB / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7728, allocations: 0 / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.7728, allocations: 4.078 kB / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7728, allocations: 5.312 kB / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.7728, allocations: 1.406 kB / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.7728, allocations: 5.984 kB / 1.026 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7728, allocations: 0 / 1.026 GB, free: 54.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.808e-05/0.7729, allocations: 81.55 kB / 1.026 GB, free: 54.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.773, allocations: 96.33 kB / 1.026 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.773, allocations: 7.969 kB / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.383e-05/0.773, allocations: 1.781 kB / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.773, allocations: 1.922 kB / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.7731, allocations: 1.188 kB / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.753e-05/0.7731, allocations: 128.5 kB / 1.026 GB, free: 54.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7732, allocations: 0 / 1.026 GB, free: 54.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001769/0.7733, allocations: 9.156 kB / 1.026 GB, free: 54.65 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.0001123/0.7735, allocations: 105.1 kB / 1.026 GB, free: 54.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.452e-05/0.7736, allocations: 24.44 kB / 1.026 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7736, allocations: 0 / 1.026 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-05/0.7736, allocations: 8.75 kB / 1.026 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.7738, allocations: 11.84 kB / 1.026 GB, free: 54.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.7741, allocations: 191.7 kB / 1.027 GB, free: 54.37 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.7743, allocations: 0.696 MB / 1.027 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.7743, allocations: 6.453 kB / 1.027 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.7744, allocations: 15.22 kB / 1.027 GB, free: 53.66 MB / 0.698 GB Notification: Performance of SimCode: time 4.1e-07/0.7744, allocations: 0 / 1.027 GB, free: 53.66 MB / 0.698 GB Notification: Performance of Templates: time 0.002557/0.7769, allocations: 453.6 kB / 1.028 GB, free: 53.6 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1)