Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.995/1.995, allocations: 291.7 MB / 306.8 MB, free: 7.641 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.001184/0.001185, allocations: 188.5 kB / 375.4 MB, free: 5.105 MB / 298.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.48/1.48, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.00111/0.00111, allocations: 93.78 kB / 0.7699 GB, free: 50.16 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.00056/0.00056, allocations: 16 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.834/0.8346, allocations: 118.1 MB / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001238/0.8359, allocations: 0.5327 MB / 1.011 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001127/0.836, allocations: 41.69 kB / 1.011 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.8361, allocations: 2.906 kB / 1.011 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.8361, allocations: 6.562 kB / 1.011 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.653e-05/0.8362, allocations: 7.875 kB / 1.011 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.677e-05/0.8363, allocations: 15.06 kB / 1.011 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.8364, allocations: 59.5 kB / 1.012 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.8365, allocations: 49.52 kB / 1.012 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.884e-05/0.8366, allocations: 19.39 kB / 1.012 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.5e-05/0.8367, allocations: 25.17 kB / 1.012 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.8367, allocations: 5.688 kB / 1.012 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.8367, allocations: 0 / 1.012 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.8367, allocations: 12.77 kB / 1.012 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.8368, allocations: 32.52 kB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.8369, allocations: 53.72 kB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.8369, allocations: 6.797 kB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.805e-06/0.8369, allocations: 0 / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.8369, allocations: 0 / 1.012 GB, free: 57.34 MB / 0.7136 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.0004533/0.8374, allocations: 378.1 kB / 1.012 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.8374, allocations: 8.531 kB / 1.012 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.8375, allocations: 12.97 kB / 1.012 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.8377, allocations: 191.6 kB / 1.012 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.8377, allocations: 7.156 kB / 1.012 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.8377, allocations: 10.62 kB / 1.012 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.8379, allocations: 98.11 kB / 1.012 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.8379, allocations: 2.125 kB / 1.012 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.838, allocations: 5.156 kB / 1.012 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.838, allocations: 3.859 kB / 1.012 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.489e-05/0.8381, allocations: 36.31 kB / 1.012 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.8386, allocations: 450.8 kB / 1.013 GB, free: 56.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.93e-05/0.8387, allocations: 35.84 kB / 1.013 GB, free: 56.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.8387, allocations: 24.38 kB / 1.013 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.8388, allocations: 0 / 1.013 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.8388, allocations: 30.56 kB / 1.013 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8388, allocations: 2.875 kB / 1.013 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002154/0.839, allocations: 63.98 kB / 1.013 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.8391, allocations: 82.08 kB / 1.013 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.8392, allocations: 170.9 kB / 1.013 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.8392, allocations: 25.7 kB / 1.013 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.8393, allocations: 107.2 kB / 1.013 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.324e-06/0.8393, allocations: 7.844 kB / 1.013 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.8393, allocations: 0 / 1.013 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.8394, allocations: 322.1 kB / 1.014 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.8394, allocations: 7.875 kB / 1.014 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.16e-05/0.8394, allocations: 21.44 kB / 1.014 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.8395, allocations: 35.11 kB / 1.014 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8395, allocations: 0 / 1.014 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001148/0.8396, allocations: 59.27 kB / 1.014 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.8396, allocations: 13.08 kB / 1.014 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8396, allocations: 3.938 kB / 1.014 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.8397, allocations: 2.938 kB / 1.014 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.298e-05/0.8397, allocations: 5.5 kB / 1.014 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.8397, allocations: 0.5938 kB / 1.014 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.8398, allocations: 11.81 kB / 1.014 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.8398, allocations: 0 / 1.014 GB, free: 55.45 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.712e-05/0.8399, allocations: 119.2 kB / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.8399, allocations: 6.875 kB / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.8399, allocations: 24.05 kB / 1.014 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.84, allocations: 2.906 kB / 1.014 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.84, allocations: 0.7812 kB / 1.014 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.84, allocations: 0 / 1.014 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.8403, allocations: 487.1 kB / 1.014 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.8403, allocations: 0.9375 kB / 1.014 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.8404, allocations: 2.688 kB / 1.014 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.8404, allocations: 2.75 kB / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.8404, allocations: 1.875 kB / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8404, allocations: 0 / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8404, allocations: 1.781 kB / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.779e-05/0.8405, allocations: 91.22 kB / 1.015 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.8405, allocations: 91.03 kB / 1.015 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.8406, allocations: 2.438 kB / 1.015 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.508e-05/0.8406, allocations: 2.375 kB / 1.015 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.8406, allocations: 3 kB / 1.015 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.8406, allocations: 0 / 1.015 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.054e-05/0.8407, allocations: 131.1 kB / 1.015 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8407, allocations: 1.656 kB / 1.015 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001985/0.8409, allocations: 5.969 kB / 1.015 GB, free: 54.59 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000115/0.841, allocations: 104.2 kB / 1.015 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.622e-05/0.8411, allocations: 22.38 kB / 1.015 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8412, allocations: 4.438 kB / 1.015 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.8412, allocations: 9.938 kB / 1.015 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.8414, allocations: 11.11 kB / 1.015 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.8417, allocations: 203.4 kB / 1.015 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.8419, allocations: 0.6929 MB / 1.016 GB, free: 53.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.186e-05/0.8419, allocations: 9.859 kB / 1.016 GB, free: 53.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.842, allocations: 12.62 kB / 1.016 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.842, allocations: 1.781 kB / 1.016 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of Templates: time 0.002441/0.8444, allocations: 435.8 kB / 1.016 GB, free: 53.62 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)