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_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.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.763/1.763, allocations: 297.4 MB / 312.6 MB, free: 2.906 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.001676/0.001675, allocations: 186 kB / 382.3 MB, free: 14.81 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.691/1.691, allocations: 225.7 MB / 0.6617 GB, free: 7.195 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.0008012/0.0008013, allocations: 87.12 kB / 0.7789 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 8 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7171, allocations: 119.2 MB / 1.022 GB, free: 58.32 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001846/0.7191, allocations: 0.5349 MB / 1.023 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001726/0.7193, allocations: 43.92 kB / 1.023 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.264e-05/0.7194, allocations: 2 kB / 1.023 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.7194, allocations: 5.188 kB / 1.023 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.7196, allocations: 8.859 kB / 1.023 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.72e-05/0.7197, allocations: 27.47 kB / 1.023 GB, free: 58.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.7198, allocations: 57.16 kB / 1.023 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.72, allocations: 37.08 kB / 1.023 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.292e-05/0.7201, allocations: 35.03 kB / 1.023 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.7202, allocations: 24.28 kB / 1.023 GB, free: 57.94 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.7202, allocations: 5.281 kB / 1.023 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.7202, allocations: 2.812 kB / 1.023 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.7203, allocations: 6.219 kB / 1.023 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.7203, allocations: 52.69 kB / 1.023 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.7205, allocations: 79.33 kB / 1.023 GB, free: 57.86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.7205, allocations: 0 / 1.023 GB, free: 57.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.487e-06/0.7205, allocations: 0 / 1.023 GB, free: 57.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.7206, allocations: 1.375 kB / 1.023 GB, free: 57.86 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.0005667/0.7211, allocations: 373 kB / 1.024 GB, free: 57.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.415e-05/0.7212, allocations: 9.625 kB / 1.024 GB, free: 57.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.7213, allocations: 10.34 kB / 1.024 GB, free: 57.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.7215, allocations: 198.7 kB / 1.024 GB, free: 57.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.7216, allocations: 3.969 kB / 1.024 GB, free: 57.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.7216, allocations: 11.64 kB / 1.024 GB, free: 57.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.7218, allocations: 101.5 kB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.7219, allocations: 3.656 kB / 1.024 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.7219, allocations: 9.719 kB / 1.024 GB, free: 57.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.7219, allocations: 0 / 1.024 GB, free: 57.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.722, allocations: 42.42 kB / 1.024 GB, free: 57.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006926/0.7227, allocations: 438.6 kB / 1.024 GB, free: 56.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.289e-05/0.7228, allocations: 45.28 kB / 1.024 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.7229, allocations: 13.03 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.7229, allocations: 0 / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.7229, allocations: 33.22 kB / 1.024 GB, free: 56.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.7229, allocations: 3 kB / 1.024 GB, free: 56.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000246/0.7232, allocations: 67.94 kB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.7232, allocations: 78.2 kB / 1.025 GB, free: 56.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.7235, allocations: 173.1 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.7235, allocations: 30.14 kB / 1.025 GB, free: 56.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.7236, allocations: 104.6 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.7236, allocations: 9.031 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.7236, allocations: 5.094 kB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.7237, allocations: 322.4 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.7237, allocations: 5.781 kB / 1.025 GB, free: 55.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.7237, allocations: 19.44 kB / 1.025 GB, free: 55.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.7238, allocations: 31.06 kB / 1.025 GB, free: 55.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7238, allocations: 1.75 kB / 1.025 GB, free: 55.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.036e-05/0.7239, allocations: 56.14 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.7239, allocations: 11.72 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.7239, allocations: 7.766 kB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.724, allocations: 0 / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.7241, allocations: 11.72 kB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7241, allocations: 1.969 kB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.536e-05/0.7241, allocations: 10.91 kB / 1.025 GB, free: 55.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.7241, allocations: 5.375 kB / 1.025 GB, free: 55.81 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.183e-05/0.7242, allocations: 117.2 kB / 1.025 GB, free: 55.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.513e-05/0.7243, allocations: 9.406 kB / 1.025 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.7243, allocations: 22.67 kB / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.7243, allocations: 1.375 kB / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7243, allocations: 0 / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.7243, allocations: 1.375 kB / 1.025 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.7247, allocations: 481.8 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7248, allocations: 1.375 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.7248, allocations: 4.203 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.7248, allocations: 1.375 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.7248, allocations: 0 / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.7248, allocations: 1.375 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7248, allocations: 0 / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.263e-05/0.7249, allocations: 89.89 kB / 1.026 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.725, allocations: 89.19 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.725, allocations: 1.375 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.704e-05/0.725, allocations: 2.203 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.7251, allocations: 3.938 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.7251, allocations: 1.734 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000106/0.7252, allocations: 128.3 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7252, allocations: 1.406 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001924/0.7254, allocations: 11.69 kB / 1.026 GB, free: 54.89 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.0001457/0.7255, allocations: 104.6 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.7256, allocations: 20.11 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7257, allocations: 0 / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.787e-05/0.7257, allocations: 9.609 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.7259, allocations: 13.88 kB / 1.026 GB, free: 54.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.7263, allocations: 189.7 kB / 1.027 GB, free: 54.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.7266, allocations: 0.6995 MB / 1.027 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.409e-05/0.7266, allocations: 6.547 kB / 1.027 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.7266, allocations: 12.66 kB / 1.027 GB, free: 53.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.282e-06/0.7266, allocations: 0 / 1.027 GB, free: 53.9 MB / 0.698 GB Notification: Performance of Templates: time 0.002884/0.7295, allocations: 467.6 kB / 1.028 GB, free: 53.84 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)