Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.778/1.778, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.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.001078/0.001077, allocations: 172.5 kB / 393.1 MB, free: 4.094 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.573/1.573, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008635/0.0008635, allocations: 92.55 kB / 0.7935 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004231, allocations: 9.656 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.714/0.7144, allocations: 121.3 MB / 1.041 GB, free: 58.26 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001235/0.7157, allocations: 0.5285 MB / 1.041 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001567/0.7159, allocations: 35.12 kB / 1.041 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.716, allocations: 2.875 kB / 1.041 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.716, allocations: 7.297 kB / 1.041 GB, free: 57.94 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.7161, allocations: 7.938 kB / 1.041 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.142e-05/0.7162, allocations: 15.42 kB / 1.041 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.7164, allocations: 61.66 kB / 1.042 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.7166, allocations: 32.55 kB / 1.042 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.07e-05/0.7166, allocations: 16.33 kB / 1.042 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.7167, allocations: 23.09 kB / 1.042 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.7167, allocations: 1.531 kB / 1.042 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.7168, allocations: 2.812 kB / 1.042 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.7168, allocations: 17.62 kB / 1.042 GB, free: 57.85 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.7168, allocations: 46.66 kB / 1.042 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.717, allocations: 69.97 kB / 1.042 GB, free: 57.78 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.717, allocations: 5.344 kB / 1.042 GB, free: 57.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.815e-06/0.717, allocations: 0 / 1.042 GB, free: 57.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.717, allocations: 0 / 1.042 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.0005132/0.7175, allocations: 364.1 kB / 1.042 GB, free: 57.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.7176, allocations: 11.34 kB / 1.042 GB, free: 57.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.7176, allocations: 12.94 kB / 1.042 GB, free: 57.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.7179, allocations: 188.6 kB / 1.042 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.7179, allocations: 12.38 kB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.7179, allocations: 9.969 kB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.7181, allocations: 91.88 kB / 1.042 GB, free: 57.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.7181, allocations: 192 / 1.042 GB, free: 57.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.7181, allocations: 11.5 kB / 1.042 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.7182, allocations: 2.5 kB / 1.042 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.91e-05/0.7183, allocations: 35.39 kB / 1.042 GB, free: 57.08 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006534/0.7189, allocations: 442.7 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.444e-05/0.719, allocations: 42.17 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.7191, allocations: 22.95 kB / 1.043 GB, free: 56.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.7191, allocations: 3.594 kB / 1.043 GB, free: 56.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.7191, allocations: 32.12 kB / 1.043 GB, free: 56.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.7191, allocations: 0 / 1.043 GB, free: 56.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002221/0.7193, allocations: 55.2 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.7194, allocations: 78.83 kB / 1.043 GB, free: 56.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.7196, allocations: 156.8 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/0.7196, allocations: 29.45 kB / 1.043 GB, free: 56.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.7197, allocations: 107.4 kB / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.7197, allocations: 7.25 kB / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.7197, allocations: 0.6562 kB / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.746e-05/0.7198, allocations: 317.3 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.7198, allocations: 4.469 kB / 1.044 GB, free: 55.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.7198, allocations: 27.36 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.7199, allocations: 21.47 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7199, allocations: 0.8438 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.2e-05/0.72, allocations: 69.23 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.72, allocations: 7.125 kB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.72, allocations: 3.938 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.7201, allocations: 0 / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.417e-05/0.7201, allocations: 4.344 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.7201, allocations: 7.531 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.7202, allocations: 4.422 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.7202, allocations: 1.969 kB / 1.044 GB, free: 55.75 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 7.927e-05/0.7203, allocations: 116.2 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.7203, allocations: 13.91 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.7204, allocations: 17.16 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.7204, allocations: 0.7031 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7204, allocations: 0 / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7204, allocations: 3 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.7207, allocations: 467.8 kB / 1.044 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7207, allocations: 1.25 kB / 1.044 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.7208, allocations: 6.047 kB / 1.044 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.7208, allocations: 0 / 1.044 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.7208, allocations: 9.344 kB / 1.044 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7208, allocations: 0 / 1.044 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7208, allocations: 1.25 kB / 1.044 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.324e-05/0.7209, allocations: 80.7 kB / 1.044 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.7209, allocations: 92.14 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.721, allocations: 0 / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.052e-05/0.721, allocations: 0 / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.721, allocations: 11.97 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.721, allocations: 0 / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.341e-05/0.7211, allocations: 124.3 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7211, allocations: 0 / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001993/0.7213, allocations: 8.344 kB / 1.045 GB, free: 54.84 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.0001533/0.7215, allocations: 107.8 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.227e-05/0.7216, allocations: 15.5 kB / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7216, allocations: 0 / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.109e-05/0.7216, allocations: 7.219 kB / 1.045 GB, free: 54.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.7218, allocations: 15.81 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.7221, allocations: 186.3 kB / 1.045 GB, free: 54.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.7223, allocations: 0.6972 MB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.7224, allocations: 9.703 kB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.7224, allocations: 12.19 kB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.7224, allocations: 0 / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of Templates: time 0.002857/0.7253, allocations: 426.2 kB / 1.046 GB, free: 53.77 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)