Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.505/2.505, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001348/0.001348, allocations: 188 kB / 329.5 MB, free: 1.145 MB / 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 2.62/2.62, allocations: 225.6 MB / 0.6001 GB, free: 472 kB / 426.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.002245/0.002244, allocations: 102.2 kB / 0.7074 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.000486, allocations: 15.88 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2212, allocations: 109.1 MB / 0.9308 GB, free: 24.87 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001037/0.2223, allocations: 0.5293 MB / 0.9313 GB, free: 24.34 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001323/0.2224, allocations: 59.7 kB / 0.9313 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.2225, allocations: 0 / 0.9313 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.369e-05/0.2226, allocations: 3.938 kB / 0.9313 GB, free: 24.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.504e-05/0.2227, allocations: 7.938 kB / 0.9314 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.191e-05/0.2227, allocations: 11.98 kB / 0.9314 GB, free: 24.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.2228, allocations: 67.75 kB / 0.9314 GB, free: 24.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.223, allocations: 45.55 kB / 0.9315 GB, free: 24.14 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.673e-05/0.2231, allocations: 23.81 kB / 0.9315 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.2232, allocations: 23.73 kB / 0.9315 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.2232, allocations: 0 / 0.9315 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.2232, allocations: 4 kB / 0.9315 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.2232, allocations: 15.92 kB / 0.9315 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.2233, allocations: 33.64 kB / 0.9316 GB, free: 24.04 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.973e-05/0.2234, allocations: 59.86 kB / 0.9316 GB, free: 23.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2234, allocations: 0 / 0.9316 GB, free: 23.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2234, allocations: 0 / 0.9316 GB, free: 23.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2234, allocations: 8 kB / 0.9316 GB, free: 23.97 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.0003963/0.2238, allocations: 367.5 kB / 0.932 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2239, allocations: 8.031 kB / 0.932 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.2239, allocations: 16.75 kB / 0.932 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.2241, allocations: 192.2 kB / 0.9322 GB, free: 23.31 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.2241, allocations: 4.375 kB / 0.9322 GB, free: 23.31 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.2242, allocations: 12.38 kB / 0.9322 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.2244, allocations: 95.8 kB / 0.9323 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2244, allocations: 3.938 kB / 0.9323 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.2244, allocations: 4 kB / 0.9323 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2244, allocations: 4 kB / 0.9323 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.2245, allocations: 39.92 kB / 0.9323 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005829/0.2251, allocations: 448.7 kB / 0.9328 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.965e-05/0.2252, allocations: 37.19 kB / 0.9328 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.2253, allocations: 21.83 kB / 0.9328 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.2253, allocations: 3.984 kB / 0.9328 GB, free: 22.56 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.2253, allocations: 38.56 kB / 0.9329 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.2253, allocations: 0 / 0.9329 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002022/0.2255, allocations: 61.39 kB / 0.9329 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.2256, allocations: 81.11 kB / 0.933 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.2258, allocations: 166.6 kB / 0.9332 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.2258, allocations: 29.7 kB / 0.9332 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.2259, allocations: 104 kB / 0.9333 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.104e-05/0.2259, allocations: 8.094 kB / 0.9333 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.2259, allocations: 8 kB / 0.9333 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/0.226, allocations: 322.8 kB / 0.9336 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.226, allocations: 7.938 kB / 0.9336 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.402e-05/0.226, allocations: 17.72 kB / 0.9336 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.2261, allocations: 11.94 kB / 0.9337 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2261, allocations: 0 / 0.9337 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000116/0.2262, allocations: 65.59 kB / 0.9337 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2263, allocations: 11.84 kB / 0.9337 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2263, allocations: 7.938 kB / 0.9337 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2263, allocations: 0 / 0.9337 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.2264, allocations: 7.938 kB / 0.9337 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2264, allocations: 0 / 0.9337 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.2265, allocations: 11.91 kB / 0.9338 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2265, allocations: 0 / 0.9338 GB, free: 21.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.518e-05/0.2266, allocations: 117.8 kB / 0.9339 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.2266, allocations: 15.91 kB / 0.9339 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.2267, allocations: 12.56 kB / 0.9339 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2267, allocations: 0 / 0.9339 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2267, allocations: 4 kB / 0.9339 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2267, allocations: 0 / 0.9339 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.2272, allocations: 478.8 kB / 0.9344 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2272, allocations: 0 / 0.9344 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.2273, allocations: 4.062 kB / 0.9344 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2273, allocations: 4 kB / 0.9344 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.2273, allocations: 0 / 0.9344 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2273, allocations: 0 / 0.9344 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2273, allocations: 0 / 0.9344 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.844e-05/0.2274, allocations: 89.77 kB / 0.9344 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.2275, allocations: 88.92 kB / 0.9345 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.2275, allocations: 8.016 kB / 0.9345 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.011e-05/0.2276, allocations: 4 kB / 0.9345 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.2276, allocations: 0 / 0.9345 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.2276, allocations: 4 kB / 0.9345 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001011/0.2277, allocations: 121.4 kB / 0.9347 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2277, allocations: 0 / 0.9347 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002334/0.228, allocations: 11.94 kB / 0.9347 GB, free: 20.49 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 (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.0001109/0.2281, allocations: 107.2 kB / 0.9348 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.2282, allocations: 23.92 kB / 0.9348 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2282, allocations: 7.938 kB / 0.9348 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.103e-05/0.2283, allocations: 4 kB / 0.9348 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.2285, allocations: 7.938 kB / 0.9348 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.2289, allocations: 194.2 kB / 0.935 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.229, allocations: 0.697 MB / 0.9357 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.548e-05/0.2291, allocations: 16.41 kB / 0.9357 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.2291, allocations: 15.38 kB / 0.9357 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of SimCode: time 9.02e-07/0.2291, allocations: 0 / 0.9357 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of Templates: time 0.003188/0.2323, allocations: 450.8 kB / 0.9361 GB, free: 18.93 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)