Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.533/1.533, allocations: 255.9 MB / 271.2 MB, free: 8.902 MB / 218.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.001602/0.001602, allocations: 185.3 kB / 330.8 MB, free: 480 kB / 250.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.801/1.801, allocations: 225.7 MB / 0.6016 GB, free: 15.93 MB / 442.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.0009295/0.0009294, allocations: 93.52 kB / 0.709 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003688, allocations: 8.906 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2516, allocations: 109.2 MB / 0.9328 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001338/0.253, allocations: 0.5448 MB / 0.9333 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001443/0.2532, allocations: 47.77 kB / 0.9333 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.2533, allocations: 4 kB / 0.9333 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.541e-05/0.2533, allocations: 3.938 kB / 0.9333 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.2535, allocations: 3.938 kB / 0.9333 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.026e-05/0.2536, allocations: 19.98 kB / 0.9334 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.2537, allocations: 63.78 kB / 0.9334 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.2539, allocations: 45.36 kB / 0.9335 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.464e-05/0.2541, allocations: 23.86 kB / 0.9335 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.2541, allocations: 27.73 kB / 0.9335 GB, free: 23.31 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.2542, allocations: 0 / 0.9335 GB, free: 23.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.2542, allocations: 4 kB / 0.9335 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.2542, allocations: 7.938 kB / 0.9335 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.2543, allocations: 61.44 kB / 0.9336 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.2544, allocations: 75.89 kB / 0.9337 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.2545, allocations: 0 / 0.9337 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.537e-06/0.2545, allocations: 4 kB / 0.9337 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.2545, allocations: 0 / 0.9337 GB, free: 23.15 MB / 0.5886 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.0005575/0.255, allocations: 367.2 kB / 0.934 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/0.2551, allocations: 11.98 kB / 0.934 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.2552, allocations: 16.75 kB / 0.934 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.2555, allocations: 192.2 kB / 0.9342 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.2555, allocations: 8.375 kB / 0.9342 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.2555, allocations: 8.375 kB / 0.9342 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2557, allocations: 95.8 kB / 0.9343 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2557, allocations: 192 / 0.9343 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2558, allocations: 7.938 kB / 0.9343 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.2558, allocations: 7.984 kB / 0.9343 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.729e-05/0.2559, allocations: 39.92 kB / 0.9344 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.2564, allocations: 448.6 kB / 0.9348 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.897e-05/0.2565, allocations: 37.2 kB / 0.9348 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.2566, allocations: 25.81 kB / 0.9349 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.577e-06/0.2566, allocations: 0 / 0.9349 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.2566, allocations: 34.56 kB / 0.9349 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.2566, allocations: 3.938 kB / 0.9349 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002064/0.2568, allocations: 61.48 kB / 0.935 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.2569, allocations: 81.09 kB / 0.935 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.257, allocations: 169.5 kB / 0.9352 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.257, allocations: 25.7 kB / 0.9352 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.2571, allocations: 115.9 kB / 0.9353 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.757e-06/0.2571, allocations: 3.906 kB / 0.9353 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.2571, allocations: 0 / 0.9353 GB, free: 21.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.242e-05/0.2572, allocations: 322.8 kB / 0.9357 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.2572, allocations: 8 kB / 0.9357 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.2573, allocations: 17.72 kB / 0.9357 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.2573, allocations: 33.64 kB / 0.9357 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2573, allocations: 0 / 0.9357 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.477e-05/0.2574, allocations: 61.55 kB / 0.9358 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2574, allocations: 4 kB / 0.9358 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2574, allocations: 11.88 kB / 0.9358 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2575, allocations: 0 / 0.9358 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.2575, allocations: 4 kB / 0.9358 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.2575, allocations: 8.047 kB / 0.9358 GB, free: 20.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.2576, allocations: 4 kB / 0.9358 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.2576, allocations: 4 kB / 0.9358 GB, free: 20.7 MB / 0.5886 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 6.733e-05/0.2577, allocations: 110.5 kB / 0.9359 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.2577, allocations: 15.81 kB / 0.9359 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.2577, allocations: 12.5 kB / 0.9359 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2577, allocations: 0 / 0.9359 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2578, allocations: 4 kB / 0.9359 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2578, allocations: 3.984 kB / 0.9359 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.2581, allocations: 478.8 kB / 0.9364 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2581, allocations: 4 kB / 0.9364 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.2581, allocations: 0 / 0.9364 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2581, allocations: 4 kB / 0.9364 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.2582, allocations: 0 / 0.9364 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2582, allocations: 0 / 0.9364 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2582, allocations: 3.984 kB / 0.9364 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.053e-05/0.2583, allocations: 89.84 kB / 0.9365 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.2583, allocations: 92.88 kB / 0.9366 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.2583, allocations: 4 kB / 0.9366 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.2584, allocations: 0 / 0.9366 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.2584, allocations: 0 / 0.9366 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2584, allocations: 4.094 kB / 0.9366 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.262e-05/0.2585, allocations: 130.3 kB / 0.9367 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.2585, allocations: 0 / 0.9367 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001784/0.2586, allocations: 11.91 kB / 0.9367 GB, free: 19.64 MB / 0.5886 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.0002281/0.2589, allocations: 111.2 kB / 0.9368 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.259, allocations: 19.94 kB / 0.9369 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.259, allocations: 0 / 0.9369 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-05/0.259, allocations: 8 kB / 0.9369 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.2592, allocations: 20.12 kB / 0.9369 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.2596, allocations: 193.4 kB / 0.9371 GB, free: 19.26 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.2598, allocations: 0.6965 MB / 0.9377 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.2599, allocations: 8.422 kB / 0.9378 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.2599, allocations: 11.44 kB / 0.9378 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of SimCode: time 2.7e-07/0.2599, allocations: 0 / 0.9378 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of Templates: time 0.002625/0.2625, allocations: 459.1 kB / 0.9382 GB, free: 18.07 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)