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_ton.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_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") 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.791/1.791, allocations: 297.4 MB / 312.6 MB, free: 2.914 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.0009934/0.0009934, allocations: 174 kB / 382.3 MB, free: 14.83 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.524/1.524, allocations: 225.7 MB / 0.6617 GB, free: 7.137 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.001062/0.001062, allocations: 87.7 kB / 0.7789 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004073, allocations: 9.344 kB / 0.9058 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9133/0.9137, allocations: 119.2 MB / 1.022 GB, free: 58.22 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001459/0.9153, allocations: 0.5399 MB / 1.023 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000198/0.9155, allocations: 40.66 kB / 1.023 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.9156, allocations: 1.844 kB / 1.023 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.9157, allocations: 8.969 kB / 1.023 GB, free: 57.94 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.9158, allocations: 8.5 kB / 1.023 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.076e-05/0.9159, allocations: 20.47 kB / 1.023 GB, free: 57.92 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.916, allocations: 61.77 kB / 1.023 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.9162, allocations: 35.03 kB / 1.023 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.9163, allocations: 29.5 kB / 1.023 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.808e-05/0.9164, allocations: 22.14 kB / 1.023 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.9164, allocations: 2 kB / 1.023 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.9164, allocations: 3.438 kB / 1.023 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.9165, allocations: 7.25 kB / 1.023 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.9165, allocations: 58.73 kB / 1.023 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.9167, allocations: 80.28 kB / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.9167, allocations: 0.6562 kB / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.444e-06/0.9167, allocations: 4.438 kB / 1.023 GB, free: 57.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.9168, allocations: 0 / 1.023 GB, free: 57.77 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.0005379/0.9173, allocations: 369.6 kB / 1.024 GB, free: 57.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.9174, allocations: 10.19 kB / 1.024 GB, free: 57.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.9174, allocations: 9.25 kB / 1.024 GB, free: 57.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.9177, allocations: 196.8 kB / 1.024 GB, free: 57.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.9177, allocations: 7.531 kB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.9178, allocations: 9.562 kB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.918, allocations: 94.05 kB / 1.024 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.918, allocations: 1.812 kB / 1.024 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.918, allocations: 15.16 kB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.918, allocations: 2.594 kB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.9181, allocations: 41.12 kB / 1.024 GB, free: 57.06 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/0.9188, allocations: 441.4 kB / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.57e-05/0.9189, allocations: 44 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.9189, allocations: 15.41 kB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.9189, allocations: 3.25 kB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.919, allocations: 34.53 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.919, allocations: 0 / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002203/0.9192, allocations: 66.92 kB / 1.024 GB, free: 56.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.9193, allocations: 78.17 kB / 1.025 GB, free: 56.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.9195, allocations: 172.8 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.9195, allocations: 30.23 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.9195, allocations: 105.1 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.161e-05/0.9196, allocations: 10.75 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.9196, allocations: 0 / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.9197, allocations: 321 kB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.9197, allocations: 3.688 kB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/0.9197, allocations: 24.11 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.475e-05/0.9198, allocations: 28.28 kB / 1.025 GB, free: 55.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9198, allocations: 1 kB / 1.025 GB, free: 55.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001087/0.9199, allocations: 57.69 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.9199, allocations: 4.844 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.92, allocations: 9.016 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.92, allocations: 1.031 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.9201, allocations: 14.62 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.9201, allocations: 0.9688 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.9201, allocations: 12.38 kB / 1.025 GB, free: 55.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.9202, allocations: 0 / 1.025 GB, free: 55.72 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.468e-05/0.9203, allocations: 118.8 kB / 1.025 GB, free: 55.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.9203, allocations: 9.031 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.9204, allocations: 23.27 kB / 1.025 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.9204, allocations: 1.031 kB / 1.025 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.9204, allocations: 1.031 kB / 1.025 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.9204, allocations: 3.031 kB / 1.025 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.9208, allocations: 481.7 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.9208, allocations: 1.438 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.9208, allocations: 3.156 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.9209, allocations: 0 / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.9209, allocations: 4.969 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.9209, allocations: 5.25 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.9209, allocations: 0 / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.921, allocations: 88.22 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.9211, allocations: 91.33 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.9211, allocations: 1.438 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.555e-05/0.9211, allocations: 1.312 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.9211, allocations: 7.375 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.9211, allocations: 5.938 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001098/0.9213, allocations: 121.4 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9213, allocations: 1.969 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002189/0.9215, allocations: 12 kB / 1.026 GB, free: 54.8 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.0001676/0.9217, allocations: 102 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.859e-05/0.9218, allocations: 21.77 kB / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9218, allocations: 0 / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.9218, allocations: 9.172 kB / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.922, allocations: 11.33 kB / 1.026 GB, free: 54.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.9224, allocations: 192.5 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.9226, allocations: 0.6973 MB / 1.027 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.263e-05/0.9227, allocations: 7.859 kB / 1.027 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.9227, allocations: 11.22 kB / 1.027 GB, free: 53.81 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.9227, allocations: 0 / 1.027 GB, free: 53.81 MB / 0.698 GB Notification: Performance of Templates: time 0.003231/0.926, allocations: 452.9 kB / 1.028 GB, free: 53.75 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)