Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.437/1.437, allocations: 255.9 MB / 271.2 MB, free: 8.895 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.001023/0.001023, allocations: 176.1 kB / 330.8 MB, free: 488 kB / 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 1.869/1.869, allocations: 225.7 MB / 0.6016 GB, free: 15.91 MB / 442.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.00103/0.00103, allocations: 103.6 kB / 0.709 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004477, allocations: 17.36 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2426, allocations: 109.2 MB / 0.9328 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.001409/0.2441, allocations: 1.128 MB / 0.9339 GB, free: 22.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002558/0.2444, allocations: 111.8 kB / 0.934 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.2444, allocations: 0 / 0.934 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.2445, allocations: 7.984 kB / 0.934 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.544e-05/0.2446, allocations: 7.875 kB / 0.934 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.788e-05/0.2446, allocations: 11.98 kB / 0.934 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.52e-05/0.2447, allocations: 35.92 kB / 0.934 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2448, allocations: 4 kB / 0.9341 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.044e-05/0.2449, allocations: 27.86 kB / 0.9341 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.983e-05/0.245, allocations: 15.92 kB / 0.9341 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.245, allocations: 4 kB / 0.9341 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.245, allocations: 0 / 0.9341 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.245, allocations: 7.984 kB / 0.9341 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.2451, allocations: 41.58 kB / 0.9341 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.2452, allocations: 39.84 kB / 0.9342 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2452, allocations: 0 / 0.9342 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2452, allocations: 0 / 0.9342 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.872e-06/0.2452, allocations: 0 / 0.9342 GB, free: 22.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000514/0.2458, allocations: 371.7 kB / 0.9345 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2458, allocations: 11.98 kB / 0.9345 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.2459, allocations: 8.875 kB / 0.9346 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.696e-05/0.246, allocations: 172.2 kB / 0.9347 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.246, allocations: 4.375 kB / 0.9347 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.246, allocations: 4.375 kB / 0.9347 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.2462, allocations: 78.22 kB / 0.9348 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2463, allocations: 4.125 kB / 0.9348 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2463, allocations: 3.938 kB / 0.9348 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2463, allocations: 0 / 0.9348 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.2466, allocations: 87.92 kB / 0.9349 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.2469, allocations: 269 kB / 0.9352 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.2471, allocations: 74.47 kB / 0.9352 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.2472, allocations: 48.86 kB / 0.9353 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.2473, allocations: 4 kB / 0.9353 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.2473, allocations: 30.56 kB / 0.9353 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2473, allocations: 4 kB / 0.9353 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004857/0.2478, allocations: 161.5 kB / 0.9355 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.2478, allocations: 51.41 kB / 0.9355 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.2479, allocations: 109.8 kB / 0.9356 GB, free: 21 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.2479, allocations: 29.64 kB / 0.9356 GB, free: 20.96 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.2479, allocations: 88.14 kB / 0.9357 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.2479, allocations: 7.906 kB / 0.9357 GB, free: 20.87 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-06/0.248, allocations: 4 kB / 0.9357 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.248, allocations: 314.8 kB / 0.936 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.2481, allocations: 47.91 kB / 0.9361 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.2483, allocations: 43.95 kB / 0.9361 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.2485, allocations: 85.08 kB / 0.9362 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2485, allocations: 3.938 kB / 0.9362 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002866/0.2488, allocations: 129.5 kB / 0.9363 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2488, allocations: 4 kB / 0.9363 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2489, allocations: 0 / 0.9363 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2489, allocations: 4 kB / 0.9363 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.249, allocations: 19.98 kB / 0.9364 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.249, allocations: 0 / 0.9364 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.2491, allocations: 19.92 kB / 0.9364 GB, free: 20.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2491, allocations: 0 / 0.9364 GB, free: 20.19 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.2492, allocations: 122.4 kB / 0.9365 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.2492, allocations: 4 kB / 0.9365 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.2492, allocations: 11.89 kB / 0.9365 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2492, allocations: 0 / 0.9365 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2492, allocations: 0 / 0.9365 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2492, allocations: 0 / 0.9365 GB, free: 20.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.2494, allocations: 169.6 kB / 0.9367 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2494, allocations: 3.938 kB / 0.9367 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.2495, allocations: 31.97 kB / 0.9367 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2495, allocations: 0 / 0.9367 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2495, allocations: 0 / 0.9367 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2495, allocations: 0 / 0.9367 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2495, allocations: 0 / 0.9367 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.2498, allocations: 219.3 kB / 0.9369 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.2498, allocations: 85.05 kB / 0.937 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.2499, allocations: 3.984 kB / 0.937 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/0.25, allocations: 23.98 kB / 0.937 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.25, allocations: 0 / 0.937 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.25, allocations: 4 kB / 0.937 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.723e-05/0.25, allocations: 91.2 kB / 0.9371 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.2501, allocations: 0 / 0.9371 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001836/0.2502, allocations: 8 kB / 0.9371 GB, free: 19.33 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001207/0.2504, allocations: 108 kB / 0.9372 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003129/0.2507, allocations: 87.92 kB / 0.9373 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2507, allocations: 0 / 0.9373 GB, free: 19.12 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.2509, allocations: 51.89 kB / 0.9374 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.2512, allocations: 15.94 kB / 0.9374 GB, free: 19.06 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.2514, allocations: 132.6 kB / 0.9375 GB, free: 18.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.2516, allocations: 0.677 MB / 0.9382 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.2516, allocations: 4 kB / 0.9382 GB, free: 18.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.2517, allocations: 11.44 kB / 0.9382 GB, free: 18.18 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/0.2517, allocations: 0 / 0.9382 GB, free: 18.18 MB / 0.5886 GB Notification: Performance of Templates: time 0.002356/0.254, allocations: 0.5543 MB / 0.9387 GB, free: 17.64 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)