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.To_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.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.434/2.434, allocations: 254.9 MB / 269.9 MB, free: 9.652 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.001982/0.001982, allocations: 199.2 kB / 329.5 MB, free: 1.188 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.505/2.505, allocations: 225.6 MB / 0.6001 GB, free: 2.184 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.001415/0.001415, allocations: 98.16 kB / 0.7074 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004816, allocations: 12.12 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2194, allocations: 109.1 MB / 0.9308 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001498/0.2209, allocations: 0.5371 MB / 0.9313 GB, free: 24.6 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001836/0.2212, allocations: 43.78 kB / 0.9313 GB, free: 24.56 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.2213, allocations: 0 / 0.9313 GB, free: 24.56 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.2213, allocations: 11.86 kB / 0.9313 GB, free: 24.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.2215, allocations: 3.938 kB / 0.9313 GB, free: 24.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.726e-05/0.2216, allocations: 15.98 kB / 0.9314 GB, free: 24.53 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.2217, allocations: 67.75 kB / 0.9314 GB, free: 24.46 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.2219, allocations: 37.58 kB / 0.9315 GB, free: 24.41 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/0.222, allocations: 27.8 kB / 0.9315 GB, free: 24.39 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.423e-05/0.2221, allocations: 23.8 kB / 0.9315 GB, free: 24.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.2222, allocations: 3.938 kB / 0.9315 GB, free: 24.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.2222, allocations: 4 kB / 0.9315 GB, free: 24.36 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.2222, allocations: 7.922 kB / 0.9315 GB, free: 24.35 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.2223, allocations: 45.64 kB / 0.9316 GB, free: 24.3 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.2224, allocations: 51.88 kB / 0.9316 GB, free: 24.25 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2224, allocations: 0 / 0.9316 GB, free: 24.25 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2225, allocations: 0 / 0.9316 GB, free: 24.25 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2225, allocations: 0 / 0.9316 GB, free: 24.25 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.0005138/0.223, allocations: 379.5 kB / 0.932 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.2231, allocations: 8.031 kB / 0.932 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.554e-05/0.2232, allocations: 16.75 kB / 0.932 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.2235, allocations: 188.3 kB / 0.9322 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.2235, allocations: 4.375 kB / 0.9322 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.2235, allocations: 12.31 kB / 0.9322 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.2238, allocations: 99.84 kB / 0.9323 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2239, allocations: 3.938 kB / 0.9323 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.2239, allocations: 0 / 0.9323 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2239, allocations: 4 kB / 0.9323 GB, free: 23.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.2241, allocations: 39.92 kB / 0.9323 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008643/0.225, allocations: 440.7 kB / 0.9328 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.632e-05/0.2251, allocations: 45.19 kB / 0.9328 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.2252, allocations: 17.84 kB / 0.9328 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2252, allocations: 0 / 0.9328 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.2253, allocations: 34.56 kB / 0.9329 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.915e-06/0.2253, allocations: 0 / 0.9329 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003021/0.2256, allocations: 65.38 kB / 0.9329 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.2257, allocations: 81.11 kB / 0.933 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.2259, allocations: 169.5 kB / 0.9332 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.226, allocations: 25.7 kB / 0.9332 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.2261, allocations: 104 kB / 0.9333 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.2261, allocations: 11.84 kB / 0.9333 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.2261, allocations: 0 / 0.9333 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.2262, allocations: 322.8 kB / 0.9336 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.2263, allocations: 7.938 kB / 0.9336 GB, free: 21.97 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.2264, allocations: 25.64 kB / 0.9336 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.983e-05/0.2264, allocations: 12 kB / 0.9336 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2265, allocations: 0 / 0.9336 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001859/0.2267, allocations: 57.7 kB / 0.9337 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.2267, allocations: 11.84 kB / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2267, allocations: 7.984 kB / 0.9337 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.2268, allocations: 7.922 kB / 0.9337 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.2269, allocations: 7.938 kB / 0.9337 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.227, allocations: 0 / 0.9337 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.2271, allocations: 11.91 kB / 0.9337 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.2271, allocations: 4.062 kB / 0.9337 GB, free: 21.82 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.0001089/0.2272, allocations: 113.8 kB / 0.9339 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.681e-05/0.2273, allocations: 11.84 kB / 0.9339 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.2274, allocations: 16.55 kB / 0.9339 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.2274, allocations: 0 / 0.9339 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.2275, allocations: 4 kB / 0.9339 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.2275, allocations: 0 / 0.9339 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.2281, allocations: 474.8 kB / 0.9343 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.2282, allocations: 4 kB / 0.9343 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.2282, allocations: 3.984 kB / 0.9343 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.2283, allocations: 4 kB / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2283, allocations: 4 kB / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2283, allocations: 0 / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2283, allocations: 0 / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.2285, allocations: 85.84 kB / 0.9344 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.2286, allocations: 92.91 kB / 0.9345 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.2286, allocations: 4 kB / 0.9345 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/0.2287, allocations: 0 / 0.9345 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.2288, allocations: 0 / 0.9345 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.2288, allocations: 4 kB / 0.9345 GB, free: 20.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000159/0.229, allocations: 130.5 kB / 0.9347 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.71e-07/0.229, allocations: 0 / 0.9347 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004203/0.2294, allocations: 15.97 kB / 0.9347 GB, free: 20.76 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.0001766/0.2296, allocations: 99.25 kB / 0.9348 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.2298, allocations: 19.94 kB / 0.9348 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2298, allocations: 3.938 kB / 0.9348 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.2299, allocations: 12 kB / 0.9348 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.2302, allocations: 3.938 kB / 0.9348 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006144/0.2309, allocations: 194.2 kB / 0.935 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.2311, allocations: 0.705 MB / 0.9357 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.888e-05/0.2312, allocations: 8.422 kB / 0.9357 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.2312, allocations: 11.44 kB / 0.9357 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of SimCode: time 1.472e-06/0.2312, allocations: 0 / 0.9357 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of Templates: time 0.004917/0.2362, allocations: 455.8 kB / 0.9361 GB, free: 19.2 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)