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.LimPIDInitialState.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.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") 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.45/1.45, 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.001139/0.001139, allocations: 186.2 kB / 330.8 MB, free: 460 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.651/1.651, allocations: 225.7 MB / 0.6016 GB, free: 1.621 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.0007743/0.0007744, allocations: 107.4 kB / 0.709 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004198, allocations: 16 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2586, allocations: 109.2 MB / 0.9328 GB, free: 6.223 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.002458/0.2612, allocations: 2.307 MB / 0.935 GB, free: 3.902 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.2624, allocations: 0.8152 MB / 0.9358 GB, free: 3.078 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.2626, allocations: 15.88 kB / 0.9358 GB, free: 3.062 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.2629, allocations: 75.38 kB / 0.9359 GB, free: 2.988 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.2632, allocations: 39.66 kB / 0.936 GB, free: 2.949 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.2634, allocations: 147.8 kB / 0.9361 GB, free: 2.805 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.2638, allocations: 488.9 kB / 0.9366 GB, free: 2.324 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.2641, allocations: 263.2 kB / 0.9368 GB, free: 2.066 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.977e-05/0.2642, allocations: 123.2 kB / 0.9369 GB, free: 1.945 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.2643, allocations: 146.9 kB / 0.9371 GB, free: 1.801 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.2644, allocations: 12 kB / 0.9371 GB, free: 1.789 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.794e-05/0.2644, allocations: 12 kB / 0.9371 GB, free: 1.777 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.2645, allocations: 55.64 kB / 0.9371 GB, free: 1.723 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.2646, allocations: 200.4 kB / 0.9373 GB, free: 1.52 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.2649, allocations: 0.5333 MB / 0.9379 GB, free: 0.9844 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2649, allocations: 3.938 kB / 0.9379 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2649, allocations: 0 / 0.9379 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2649, allocations: 0 / 0.9379 GB, free: 0.9805 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0008996/0.2658, allocations: 0.7133 MB / 0.9386 GB, free: 224 kB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2659, allocations: 15.98 kB / 0.9386 GB, free: 208 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.3e-05/0.266, allocations: 56.27 kB / 0.9386 GB, free: 152 kB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.2665, allocations: 372.7 kB / 0.939 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.2665, allocations: 37.31 kB / 0.939 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.2666, allocations: 40.38 kB / 0.9391 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/0.2673, allocations: 422.8 kB / 0.9395 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.2673, allocations: 7.938 kB / 0.9395 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.2674, allocations: 16 kB / 0.9395 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.2674, allocations: 12 kB / 0.9395 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/0.268, allocations: 299.8 kB / 0.9398 GB, free: 14.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.27, allocations: 1.699 MB / 0.9414 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006855/0.2707, allocations: 298.8 kB / 0.9417 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.271, allocations: 132.1 kB / 0.9418 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.271, allocations: 7.984 kB / 0.9419 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.2711, allocations: 30.56 kB / 0.9419 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.2711, allocations: 0 / 0.9419 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20): time 0.0006826/0.2718, allocations: 328.9 kB / 0.9422 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.2718, allocations: 110.8 kB / 0.9423 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.2723, allocations: 430 kB / 0.9427 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.2724, allocations: 33.7 kB / 0.9427 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.2726, allocations: 259.8 kB / 0.943 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.2726, allocations: 78.94 kB / 0.9431 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.2726, allocations: 4 kB / 0.9431 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2728, allocations: 346.8 kB / 0.9434 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.273, allocations: 119.7 kB / 0.9435 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.2733, allocations: 201.3 kB / 0.9437 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.2738, allocations: 269.1 kB / 0.944 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2738, allocations: 0 / 0.944 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006048/0.2744, allocations: 368.9 kB / 0.9443 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.246e-05/0.2745, allocations: 146.2 kB / 0.9445 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2745, allocations: 0 / 0.9445 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2745, allocations: 4 kB / 0.9445 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.2748, allocations: 71.95 kB / 0.9445 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.2748, allocations: 11.92 kB / 0.9445 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.2751, allocations: 51.66 kB / 0.9446 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.2752, allocations: 16 kB / 0.9446 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.2752, allocations: 11.94 kB / 0.9446 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003427/0.2755, allocations: 235.8 kB / 0.9448 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.2755, allocations: 0 / 0.9448 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.398e-06/0.2756, allocations: 4 kB / 0.9448 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.2758, allocations: 55.92 kB / 0.9449 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2758, allocations: 4 kB / 0.9449 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.2759, allocations: 51.67 kB / 0.945 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.276, allocations: 15.94 kB / 0.945 GB, free: 9.336 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 0.0002016/0.2762, allocations: 234.2 kB / 0.9452 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.2762, allocations: 39.53 kB / 0.9452 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.543e-05/0.2763, allocations: 43.78 kB / 0.9453 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2763, allocations: 0 / 0.9453 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.2763, allocations: 7.938 kB / 0.9453 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2763, allocations: 0 / 0.9453 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.2774, allocations: 0.7661 MB / 0.946 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2774, allocations: 0 / 0.946 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.2776, allocations: 51.84 kB / 0.9461 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2776, allocations: 0 / 0.9461 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.2777, allocations: 8 kB / 0.9461 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2777, allocations: 3.938 kB / 0.9461 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2777, allocations: 4 kB / 0.9461 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006976/0.2784, allocations: 480.6 kB / 0.9465 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.7e-05/0.2785, allocations: 124.5 kB / 0.9467 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.2785, allocations: 8 kB / 0.9467 GB, free: 7.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.2787, allocations: 27.98 kB / 0.9467 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.2788, allocations: 7.984 kB / 0.9467 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2788, allocations: 11.98 kB / 0.9467 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003411/0.2791, allocations: 299.2 kB / 0.947 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2791, allocations: 0 / 0.947 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006116/0.2798, allocations: 131.5 kB / 0.9471 GB, free: 7.004 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * 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.0001673/0.2799, allocations: 123.2 kB / 0.9472 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006872/0.2806, allocations: 381.3 kB / 0.9476 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.2806, allocations: 4 kB / 0.9476 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.2808, allocations: 99.89 kB / 0.9477 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.2815, allocations: 94.06 kB / 0.9478 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2828, allocations: 0.8862 MB / 0.9487 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.2832, allocations: 0.8077 MB / 0.9495 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.2833, allocations: 47.34 kB / 0.9495 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.2834, allocations: 31.44 kB / 0.9495 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.2834, allocations: 0 / 0.9495 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of Templates: time 0.008737/0.2922, allocations: 3.641 MB / 0.9531 GB, free: 0.8477 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)