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.Min.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.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.305/2.305, allocations: 254.9 MB / 269.9 MB, free: 9.637 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.001403/0.001403, allocations: 196.4 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.744/2.744, allocations: 225.6 MB / 0.6001 GB, free: 2.176 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.001866/0.001865, allocations: 106.2 kB / 0.7074 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004914, allocations: 18.53 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2387, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002357/0.2412, allocations: 1.124 MB / 0.9319 GB, free: 23.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004504/0.2417, allocations: 111.7 kB / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.2417, allocations: 0 / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.2418, allocations: 7.938 kB / 0.932 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.2419, allocations: 11.91 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.2421, allocations: 4 kB / 0.932 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.2422, allocations: 43.91 kB / 0.9321 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2423, allocations: 8 kB / 0.9321 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.2425, allocations: 15.92 kB / 0.9321 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.2425, allocations: 19.92 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.2426, allocations: 0 / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.942e-05/0.2426, allocations: 4 kB / 0.9321 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.2427, allocations: 7.922 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.2427, allocations: 29.7 kB / 0.9321 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.814e-05/0.2428, allocations: 31.92 kB / 0.9322 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2428, allocations: 0 / 0.9322 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2429, allocations: 0 / 0.9322 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.2429, allocations: 0 / 0.9322 GB, free: 23.69 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.0007569/0.2436, allocations: 367.6 kB / 0.9325 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.2437, allocations: 12.03 kB / 0.9325 GB, free: 23.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.2438, allocations: 4.938 kB / 0.9325 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.2439, allocations: 168.3 kB / 0.9327 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.244, allocations: 8.375 kB / 0.9327 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.244, allocations: 384 / 0.9327 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/0.2446, allocations: 86.16 kB / 0.9328 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2446, allocations: 192 / 0.9328 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.2447, allocations: 3.938 kB / 0.9328 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.2447, allocations: 0 / 0.9328 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008056/0.2455, allocations: 87.92 kB / 0.9329 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.246, allocations: 260.9 kB / 0.9331 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.2465, allocations: 78.41 kB / 0.9332 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004124/0.247, allocations: 44.92 kB / 0.9333 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.247, allocations: 4 kB / 0.9333 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.2471, allocations: 34.56 kB / 0.9333 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 3.606e-06/0.2471, allocations: 3.938 kB / 0.9333 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.001451/0.2486, allocations: 165.6 kB / 0.9334 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.2486, allocations: 59.34 kB / 0.9335 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.2488, allocations: 109.8 kB / 0.9336 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2488, allocations: 29.64 kB / 0.9336 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.2489, allocations: 88.05 kB / 0.9337 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.2489, allocations: 11.89 kB / 0.9337 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-06/0.2489, allocations: 0 / 0.9337 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.62e-05/0.249, allocations: 314.8 kB / 0.934 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.2495, allocations: 43.97 kB / 0.9341 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.2499, allocations: 39.95 kB / 0.9341 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.2503, allocations: 39.97 kB / 0.9342 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.2504, allocations: 3.938 kB / 0.9342 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0009065/0.2513, allocations: 121.6 kB / 0.9343 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.2513, allocations: 11.98 kB / 0.9343 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2514, allocations: 0 / 0.9343 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.2514, allocations: 0 / 0.9343 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.2517, allocations: 23.98 kB / 0.9343 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.2518, allocations: 0 / 0.9343 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.252, allocations: 15.98 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.2521, allocations: 3.938 kB / 0.9343 GB, free: 21.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.2522, allocations: 114.3 kB / 0.9344 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.2522, allocations: 11.91 kB / 0.9344 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009461/0.2532, allocations: 125.5 kB / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2532, allocations: 4 kB / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2533, allocations: 0 / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.2533, allocations: 0 / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.2536, allocations: 169.6 kB / 0.9347 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2536, allocations: 0 / 0.9347 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.2539, allocations: 19.98 kB / 0.9348 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.2539, allocations: 4 kB / 0.9348 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.2539, allocations: 3.984 kB / 0.9348 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.2539, allocations: 0 / 0.9348 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.254, allocations: 3.938 kB / 0.9348 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009298/0.2549, allocations: 223.3 kB / 0.935 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.255, allocations: 85.05 kB / 0.9351 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.255, allocations: 0 / 0.9351 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.2553, allocations: 23.97 kB / 0.9351 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.2554, allocations: 7.938 kB / 0.9351 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.2555, allocations: 0 / 0.9351 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.032e-05/0.2555, allocations: 87.27 kB / 0.9352 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.81e-07/0.2556, allocations: 0 / 0.9352 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000479/0.256, allocations: 15.94 kB / 0.9352 GB, free: 20.29 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 (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.0001757/0.2562, allocations: 99.25 kB / 0.9353 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0009076/0.2572, allocations: 100.3 kB / 0.9354 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2572, allocations: 0 / 0.9354 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.2577, allocations: 47.95 kB / 0.9354 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.2582, allocations: 3.938 kB / 0.9354 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.2588, allocations: 136.9 kB / 0.9356 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.2589, allocations: 0.6809 MB / 0.9362 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.584e-05/0.259, allocations: 3.984 kB / 0.9362 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.2591, allocations: 7.438 kB / 0.9362 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/0.2591, allocations: 0 / 0.9362 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of Templates: time 0.004652/0.2638, allocations: 0.5214 MB / 0.9367 GB, free: 18.63 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1)