Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.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.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.388/2.388, allocations: 254.9 MB / 269.9 MB, free: 9.629 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.001489/0.001489, allocations: 181.8 kB / 329.5 MB, free: 1.156 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.424/2.424, allocations: 225.6 MB / 0.6001 GB, free: 2.273 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.0009326/0.0009323, allocations: 87.77 kB / 0.7074 GB, free: 8 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.0005326, allocations: 16.31 kB / 0.8242 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2252, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001719/0.227, allocations: 1.128 MB / 0.9319 GB, free: 23.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005261/0.2276, allocations: 203.5 kB / 0.9321 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.2277, allocations: 0 / 0.9321 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.2277, allocations: 0 / 0.9321 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.2279, allocations: 11.94 kB / 0.9321 GB, free: 23.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.228, allocations: 15.97 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.2282, allocations: 43.84 kB / 0.9322 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.732e-05/0.2283, allocations: 12 kB / 0.9322 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.341e-05/0.2283, allocations: 19.92 kB / 0.9322 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.2284, allocations: 15.92 kB / 0.9322 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.2284, allocations: 4 kB / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.2284, allocations: 0 / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.2285, allocations: 19.84 kB / 0.9322 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.2285, allocations: 29.7 kB / 0.9323 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.016e-05/0.2286, allocations: 27.94 kB / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2286, allocations: 0 / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2286, allocations: 3.984 kB / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2286, allocations: 4 kB / 0.9323 GB, free: 23.58 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005282/0.2291, allocations: 359.6 kB / 0.9326 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2292, allocations: 8.031 kB / 0.9326 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.2292, allocations: 4.938 kB / 0.9326 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.2294, allocations: 184.2 kB / 0.9328 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2294, allocations: 4.375 kB / 0.9328 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.2294, allocations: 8.375 kB / 0.9328 GB, free: 22.94 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.2297, allocations: 62.22 kB / 0.9329 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2297, allocations: 192 / 0.9329 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.2298, allocations: 7.938 kB / 0.9329 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2298, allocations: 3.938 kB / 0.9329 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.2301, allocations: 51.95 kB / 0.933 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.2306, allocations: 284.9 kB / 0.9332 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.231, allocations: 70.55 kB / 0.9333 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.2311, allocations: 32.84 kB / 0.9333 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.2312, allocations: 4 kB / 0.9333 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.2312, allocations: 34.56 kB / 0.9334 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.884e-06/0.2312, allocations: 0 / 0.9334 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0006137/0.2318, allocations: 121.5 kB / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.2319, allocations: 55.41 kB / 0.9335 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.232, allocations: 109.8 kB / 0.9336 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.232, allocations: 29.7 kB / 0.9337 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.232, allocations: 92.11 kB / 0.9337 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.2321, allocations: 12.19 kB / 0.9338 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.2321, allocations: 0 / 0.9338 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.2321, allocations: 314.8 kB / 0.9341 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.2323, allocations: 35.97 kB / 0.9341 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.2325, allocations: 27.92 kB / 0.9341 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.2327, allocations: 31.98 kB / 0.9342 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2327, allocations: 3.938 kB / 0.9342 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003678/0.233, allocations: 101.7 kB / 0.9343 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2331, allocations: 4 kB / 0.9343 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2331, allocations: 4.062 kB / 0.9343 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2331, allocations: 192 / 0.9343 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.2333, allocations: 15.98 kB / 0.9343 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2333, allocations: 8 kB / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.2334, allocations: 15.83 kB / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.2334, allocations: 7.984 kB / 0.9343 GB, free: 21.3 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 (5): * Single equations (assignments): 5 * 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 6.805e-05/0.2335, allocations: 114.3 kB / 0.9344 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.2336, allocations: 4 kB / 0.9344 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.2339, allocations: 101.5 kB / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.234, allocations: 0 / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.234, allocations: 4 kB / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.234, allocations: 0 / 0.9345 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.2342, allocations: 181.5 kB / 0.9347 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2342, allocations: 0 / 0.9347 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.2344, allocations: 15.98 kB / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2344, allocations: 4 kB / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2344, allocations: 0 / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2344, allocations: 0 / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2344, allocations: 0 / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.235, allocations: 235.3 kB / 0.9349 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.235, allocations: 81.02 kB / 0.935 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.235, allocations: 0 / 0.935 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.2352, allocations: 12.02 kB / 0.935 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.2352, allocations: 0 / 0.935 GB, free: 20.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.2352, allocations: 4.062 kB / 0.935 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.2353, allocations: 91.27 kB / 0.9351 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2353, allocations: 0 / 0.9351 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003055/0.2356, allocations: 8 kB / 0.9351 GB, free: 20.36 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (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 Backend phase and start with SimCode phase: time 0.0001396/0.2358, allocations: 103.5 kB / 0.9352 GB, free: 20.24 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003602/0.2361, allocations: 67.95 kB / 0.9353 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2362, allocations: 0 / 0.9353 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.2363, allocations: 35.86 kB / 0.9353 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.2367, allocations: 15.92 kB / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.2372, allocations: 164.6 kB / 0.9355 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.2374, allocations: 0.6809 MB / 0.9362 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.719e-05/0.2375, allocations: 4 kB / 0.9362 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.2376, allocations: 11.38 kB / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of SimCode: time 1.011e-06/0.2376, allocations: 0 / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of Templates: time 0.005087/0.2427, allocations: 0.517 MB / 0.9367 GB, free: 18.7 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)