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_gal.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_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.749/2.749, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.001324/0.001324, allocations: 200.9 kB / 329.5 MB, free: 1.164 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.512/2.512, allocations: 225.6 MB / 0.6001 GB, free: 0.5078 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.001019/0.001018, allocations: 102.2 kB / 0.7074 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0008197/0.00082, allocations: 11.06 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.227, 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_gal): time 0.001074/0.2282, allocations: 0.541 MB / 0.9313 GB, free: 24.33 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001325/0.2283, allocations: 43.78 kB / 0.9313 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.2284, allocations: 0 / 0.9313 GB, free: 24.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.2284, allocations: 7.922 kB / 0.9313 GB, free: 24.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.2286, allocations: 7.875 kB / 0.9313 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.571e-05/0.2287, allocations: 15.98 kB / 0.9314 GB, free: 24.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.2288, allocations: 67.75 kB / 0.9314 GB, free: 24.19 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.2289, allocations: 41.52 kB / 0.9315 GB, free: 24.14 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.229, allocations: 27.84 kB / 0.9315 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.2291, allocations: 27.73 kB / 0.9315 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.2291, allocations: 0 / 0.9315 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.2291, allocations: 4 kB / 0.9315 GB, free: 24.08 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.2291, allocations: 3.938 kB / 0.9315 GB, free: 24.08 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.2292, allocations: 41.64 kB / 0.9316 GB, free: 24.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.368e-05/0.2293, allocations: 51.88 kB / 0.9316 GB, free: 23.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.2293, allocations: 4 kB / 0.9316 GB, free: 23.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2293, allocations: 0 / 0.9316 GB, free: 23.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.2293, allocations: 0 / 0.9316 GB, free: 23.98 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.0004049/0.2297, allocations: 379.5 kB / 0.932 GB, free: 23.56 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2298, allocations: 8.031 kB / 0.932 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.2298, allocations: 16.75 kB / 0.932 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.23, allocations: 184.3 kB / 0.9322 GB, free: 23.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.2301, allocations: 4.375 kB / 0.9322 GB, free: 23.31 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.2301, allocations: 12.38 kB / 0.9322 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2303, allocations: 103.8 kB / 0.9323 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2303, allocations: 3.938 kB / 0.9323 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.2303, allocations: 0 / 0.9323 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2304, allocations: 4 kB / 0.9323 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.2305, allocations: 39.92 kB / 0.9323 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.2311, allocations: 440.7 kB / 0.9328 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.075e-05/0.2312, allocations: 41.25 kB / 0.9328 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.2312, allocations: 17.78 kB / 0.9328 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.2312, allocations: 0 / 0.9328 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.2313, allocations: 42.56 kB / 0.9329 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.2313, allocations: 0 / 0.9329 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002045/0.2315, allocations: 65.38 kB / 0.9329 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.2315, allocations: 77.11 kB / 0.933 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.2317, allocations: 169.2 kB / 0.9332 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.2317, allocations: 25.7 kB / 0.9332 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.2318, allocations: 112.3 kB / 0.9333 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.2318, allocations: 11.83 kB / 0.9333 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.2318, allocations: 0 / 0.9333 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.2319, allocations: 326.8 kB / 0.9336 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.664e-05/0.2319, allocations: 8 kB / 0.9336 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.232, allocations: 17.7 kB / 0.9336 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.581e-05/0.232, allocations: 8 kB / 0.9336 GB, free: 21.66 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.232, allocations: 7.938 kB / 0.9336 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001141/0.2321, allocations: 57.61 kB / 0.9337 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2322, allocations: 11.84 kB / 0.9337 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2322, allocations: 3.938 kB / 0.9337 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2322, allocations: 4 kB / 0.9337 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.2323, allocations: 7.984 kB / 0.9337 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2323, allocations: 3.938 kB / 0.9337 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.2324, allocations: 7.906 kB / 0.9337 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2324, allocations: 0 / 0.9337 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.27e-05/0.2325, allocations: 120 kB / 0.9339 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.2326, allocations: 11.84 kB / 0.9339 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.2326, allocations: 16.55 kB / 0.9339 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2326, allocations: 4.078 kB / 0.9339 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2326, allocations: 4 kB / 0.9339 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2327, allocations: 0 / 0.9339 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.2331, allocations: 478.8 kB / 0.9343 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.2331, allocations: 4 kB / 0.9344 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.2331, allocations: 0 / 0.9344 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.2332, allocations: 7.984 kB / 0.9344 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.2332, allocations: 0 / 0.9344 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2332, allocations: 0 / 0.9344 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2332, allocations: 3.984 kB / 0.9344 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.562e-05/0.2333, allocations: 85.81 kB / 0.9344 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.2334, allocations: 92.91 kB / 0.9345 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.2334, allocations: 4 kB / 0.9345 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.2334, allocations: 0 / 0.9345 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.2335, allocations: 0 / 0.9345 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.2335, allocations: 4 kB / 0.9345 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001033/0.2336, allocations: 126.5 kB / 0.9347 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2336, allocations: 0 / 0.9347 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002339/0.2339, allocations: 15.92 kB / 0.9347 GB, free: 20.48 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.0001129/0.234, allocations: 107.3 kB / 0.9348 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.2341, allocations: 19.88 kB / 0.9348 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2341, allocations: 0 / 0.9348 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.171e-05/0.2341, allocations: 12 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.0001988/0.2343, allocations: 11.88 kB / 0.9348 GB, free: 20.33 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.2348, allocations: 199.8 kB / 0.935 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.2349, allocations: 0.6934 MB / 0.9357 GB, free: 19.39 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.563e-05/0.235, allocations: 16.41 kB / 0.9357 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.235, allocations: 11.44 kB / 0.9357 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of SimCode: time 8.21e-07/0.235, allocations: 0 / 0.9357 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of Templates: time 0.00319/0.2382, allocations: 439.9 kB / 0.9361 GB, free: 18.93 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)