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_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.191/2.191, 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.001366/0.001366, allocations: 192.2 kB / 329.5 MB, free: 1.141 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.653/2.653, allocations: 225.6 MB / 0.6001 GB, free: 476 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.001056/0.001056, allocations: 109.3 kB / 0.7074 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.000488, allocations: 11.59 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2352, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001546/0.2368, allocations: 0.5371 MB / 0.9313 GB, free: 24.35 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001782/0.237, allocations: 43.77 kB / 0.9313 GB, free: 24.31 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.2371, allocations: 4 kB / 0.9313 GB, free: 24.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.2372, allocations: 11.88 kB / 0.9313 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.2373, allocations: 3.938 kB / 0.9314 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.469e-05/0.2374, allocations: 15.98 kB / 0.9314 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.2376, allocations: 67.75 kB / 0.9314 GB, free: 24.21 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.2378, allocations: 41.5 kB / 0.9315 GB, free: 24.16 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.571e-05/0.2379, allocations: 19.88 kB / 0.9315 GB, free: 24.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/0.238, allocations: 23.8 kB / 0.9315 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.2381, allocations: 4 kB / 0.9315 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.2381, allocations: 0 / 0.9315 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.2381, allocations: 15.92 kB / 0.9315 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.2382, allocations: 37.64 kB / 0.9316 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.2383, allocations: 55.86 kB / 0.9316 GB, free: 24 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2384, allocations: 0 / 0.9316 GB, free: 24 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2384, allocations: 0 / 0.9316 GB, free: 24 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.2384, allocations: 0 / 0.9316 GB, free: 24 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.0005102/0.2389, allocations: 379.5 kB / 0.932 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.239, allocations: 12.03 kB / 0.932 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.2391, allocations: 12.75 kB / 0.932 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.2393, allocations: 192.2 kB / 0.9322 GB, free: 23.33 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2394, allocations: 8.375 kB / 0.9322 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.2394, allocations: 4.375 kB / 0.9322 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.2397, allocations: 103.8 kB / 0.9323 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.2397, allocations: 7.922 kB / 0.9323 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.2398, allocations: 4 kB / 0.9323 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2398, allocations: 0 / 0.9323 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.24, allocations: 39.92 kB / 0.9323 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00089/0.2409, allocations: 444.7 kB / 0.9328 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.968e-05/0.241, allocations: 41.31 kB / 0.9328 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.2411, allocations: 21.7 kB / 0.9328 GB, free: 22.58 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.2411, allocations: 4 kB / 0.9328 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.2412, allocations: 30.56 kB / 0.9329 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.956e-06/0.2412, allocations: 4 kB / 0.9329 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003251/0.2415, allocations: 61.39 kB / 0.9329 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.2416, allocations: 81.05 kB / 0.933 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.2418, allocations: 174.6 kB / 0.9332 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2419, allocations: 25.7 kB / 0.9332 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.242, allocations: 104 kB / 0.9333 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.242, allocations: 7.844 kB / 0.9333 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.242, allocations: 4.25 kB / 0.9333 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.2421, allocations: 326.8 kB / 0.9336 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.261e-05/0.2422, allocations: 8 kB / 0.9336 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.2423, allocations: 13.72 kB / 0.9336 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.756e-05/0.2424, allocations: 15.94 kB / 0.9337 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2424, allocations: 0 / 0.9337 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001828/0.2426, allocations: 57.59 kB / 0.9337 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.2426, allocations: 19.91 kB / 0.9337 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.2427, allocations: 0 / 0.9337 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2427, allocations: 0 / 0.9337 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.2429, allocations: 11.94 kB / 0.9337 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.2429, allocations: 0 / 0.9337 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.934e-05/0.243, allocations: 3.906 kB / 0.9337 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.243, allocations: 4 kB / 0.9337 GB, free: 21.57 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.0001167/0.2432, allocations: 118.7 kB / 0.9339 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.822e-05/0.2433, allocations: 11.84 kB / 0.9339 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.2433, allocations: 16.56 kB / 0.9339 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2434, allocations: 0 / 0.9339 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2434, allocations: 0 / 0.9339 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2434, allocations: 0 / 0.9339 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.2441, allocations: 482.8 kB / 0.9343 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2441, allocations: 0 / 0.9343 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.2442, allocations: 4 kB / 0.9344 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.2442, allocations: 64 / 0.9344 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2442, allocations: 4 kB / 0.9344 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.2442, allocations: 0 / 0.9344 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.2443, allocations: 4 kB / 0.9344 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.2444, allocations: 81.77 kB / 0.9344 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.2445, allocations: 92.92 kB / 0.9345 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.2446, allocations: 3.984 kB / 0.9345 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.373e-05/0.2446, allocations: 4.031 kB / 0.9345 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.2447, allocations: 4 kB / 0.9345 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.2447, allocations: 0 / 0.9345 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001625/0.2449, allocations: 125.4 kB / 0.9347 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.71e-07/0.2449, allocations: 0 / 0.9347 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004272/0.2454, allocations: 11.94 kB / 0.9347 GB, free: 20.51 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.0001521/0.2455, allocations: 103.2 kB / 0.9348 GB, free: 20.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.2457, allocations: 35.8 kB / 0.9348 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.2457, allocations: 0 / 0.9348 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.863e-05/0.2458, allocations: 8 kB / 0.9348 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.2461, allocations: 11.94 kB / 0.9348 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/0.2467, allocations: 194.2 kB / 0.935 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.2469, allocations: 0.6965 MB / 0.9357 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.298e-05/0.247, allocations: 12.41 kB / 0.9357 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.2471, allocations: 15.44 kB / 0.9357 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of SimCode: time 3.046e-06/0.2471, allocations: 0 / 0.9357 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of Templates: time 0.004795/0.2519, allocations: 443.9 kB / 0.9361 GB, free: 18.95 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)