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_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.316/2.316, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.001376/0.001375, allocations: 188.8 kB / 329.5 MB, free: 1.172 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.609/2.609, allocations: 225.6 MB / 0.6001 GB, free: 2.262 MB / 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.0009704/0.00097, allocations: 105.2 kB / 0.7074 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006749/0.0006751, allocations: 12.59 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2486, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00156/0.2502, allocations: 0.5371 MB / 0.9313 GB, free: 24.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002048/0.2504, allocations: 43.77 kB / 0.9313 GB, free: 24.58 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.2505, allocations: 7.938 kB / 0.9313 GB, free: 24.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.2506, allocations: 3.938 kB / 0.9313 GB, free: 24.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.2507, allocations: 3.938 kB / 0.9313 GB, free: 24.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.641e-05/0.2508, allocations: 15.98 kB / 0.9314 GB, free: 24.55 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.251, allocations: 67.75 kB / 0.9314 GB, free: 24.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.2512, allocations: 41.55 kB / 0.9315 GB, free: 24.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.771e-05/0.2513, allocations: 23.81 kB / 0.9315 GB, free: 24.41 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.835e-05/0.2514, allocations: 23.8 kB / 0.9315 GB, free: 24.39 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.2514, allocations: 4 kB / 0.9315 GB, free: 24.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.2514, allocations: 0 / 0.9315 GB, free: 24.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.2515, allocations: 15.91 kB / 0.9315 GB, free: 24.37 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.2515, allocations: 37.64 kB / 0.9316 GB, free: 24.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.2516, allocations: 55.88 kB / 0.9316 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2517, allocations: 0 / 0.9316 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2517, allocations: 7.938 kB / 0.9316 GB, free: 24.26 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2517, allocations: 0 / 0.9316 GB, free: 24.26 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.0004955/0.2522, allocations: 371.5 kB / 0.932 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.2523, allocations: 8.031 kB / 0.932 GB, free: 23.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.2523, allocations: 12.75 kB / 0.932 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.2526, allocations: 196.3 kB / 0.9322 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2526, allocations: 4.375 kB / 0.9322 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.2527, allocations: 12.31 kB / 0.9322 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.253, allocations: 95.86 kB / 0.9323 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.253, allocations: 3.938 kB / 0.9323 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.253, allocations: 4 kB / 0.9323 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.253, allocations: 0 / 0.9323 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.2532, allocations: 39.92 kB / 0.9323 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.2541, allocations: 448.7 kB / 0.9328 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.083e-05/0.2542, allocations: 41.25 kB / 0.9328 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.2542, allocations: 13.7 kB / 0.9328 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.2543, allocations: 4.062 kB / 0.9328 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.2543, allocations: 38.56 kB / 0.9329 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.936e-06/0.2543, allocations: 0 / 0.9329 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002785/0.2546, allocations: 61.39 kB / 0.9329 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.2547, allocations: 77.11 kB / 0.933 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.2549, allocations: 169.9 kB / 0.9332 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.255, allocations: 25.7 kB / 0.9332 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.255, allocations: 104 kB / 0.9333 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.2551, allocations: 16.09 kB / 0.9333 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.2551, allocations: 4 kB / 0.9333 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.2552, allocations: 318.8 kB / 0.9336 GB, free: 22 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.2552, allocations: 7.938 kB / 0.9336 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.914e-05/0.2553, allocations: 25.66 kB / 0.9336 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.208e-05/0.2554, allocations: 8 kB / 0.9336 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2554, allocations: 0 / 0.9336 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001741/0.2556, allocations: 65.59 kB / 0.9337 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.2556, allocations: 11.84 kB / 0.9337 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2556, allocations: 0 / 0.9337 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2557, allocations: 0 / 0.9337 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.2558, allocations: 11.94 kB / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2558, allocations: 0 / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.86e-05/0.2559, allocations: 3.906 kB / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.2559, allocations: 4 kB / 0.9337 GB, free: 21.85 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 0.0001039/0.2561, allocations: 115.9 kB / 0.9338 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/0.2562, allocations: 23.92 kB / 0.9339 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.2562, allocations: 16.55 kB / 0.9339 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2562, allocations: 0 / 0.9339 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2562, allocations: 0 / 0.9339 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2563, allocations: 0 / 0.9339 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005837/0.2569, allocations: 478.8 kB / 0.9343 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2569, allocations: 0 / 0.9343 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.021e-05/0.257, allocations: 8.062 kB / 0.9343 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.257, allocations: 0 / 0.9343 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.257, allocations: 0 / 0.9343 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.257, allocations: 4 kB / 0.9344 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.257, allocations: 4 kB / 0.9344 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.2572, allocations: 85.77 kB / 0.9344 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.2573, allocations: 92.92 kB / 0.9345 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.2573, allocations: 8.016 kB / 0.9345 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.96e-05/0.2574, allocations: 0 / 0.9345 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.2574, allocations: 4 kB / 0.9345 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.2574, allocations: 0 / 0.9345 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001525/0.2576, allocations: 129.8 kB / 0.9347 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.91e-07/0.2576, allocations: 0 / 0.9347 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003592/0.258, allocations: 11.94 kB / 0.9347 GB, free: 20.78 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.0001376/0.2582, allocations: 99.25 kB / 0.9348 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001524/0.2583, allocations: 27.92 kB / 0.9348 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2583, allocations: 3.938 kB / 0.9348 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.061e-05/0.2584, allocations: 4 kB / 0.9348 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.2587, allocations: 11.94 kB / 0.9348 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.2592, allocations: 192.3 kB / 0.935 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.2594, allocations: 0.6965 MB / 0.9357 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.593e-05/0.2595, allocations: 16.34 kB / 0.9357 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.2596, allocations: 15.44 kB / 0.9357 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of SimCode: time 1.242e-06/0.2596, allocations: 0 / 0.9357 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of Templates: time 0.004669/0.2643, allocations: 443.8 kB / 0.9361 GB, free: 19.23 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)