Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.156/2.156, allocations: 291.7 MB / 306.8 MB, free: 7.672 MB / 234.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.001124/0.001124, allocations: 185.5 kB / 375.4 MB, free: 5.094 MB / 298.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.537/1.537, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.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.0008867/0.0008868, allocations: 105.3 kB / 0.7699 GB, free: 49.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004649, allocations: 12 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.744, allocations: 118.1 MB / 1.011 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003786/0.7479, allocations: 2.853 MB / 1.014 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004894/0.7528, allocations: 2.011 MB / 1.016 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.7541, allocations: 19.03 kB / 1.016 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.7545, allocations: 119.7 kB / 1.016 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0006314/0.7551, allocations: 109.4 kB / 1.016 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.7563, allocations: 341.5 kB / 1.016 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.7576, allocations: 1.079 MB / 1.017 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008341/0.7584, allocations: 0.5312 MB / 1.018 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.7588, allocations: 289.3 kB / 1.018 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.7591, allocations: 335.4 kB / 1.018 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.507e-05/0.7592, allocations: 30.38 kB / 1.018 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.7594, allocations: 43.94 kB / 1.018 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.7595, allocations: 132.6 kB / 1.019 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.7597, allocations: 172 kB / 1.019 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009896/0.7607, allocations: 1.071 MB / 1.02 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.7607, allocations: 0 / 1.02 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7607, allocations: 1.812 kB / 1.02 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.7607, allocations: 1.781 kB / 1.02 GB, free: 55.62 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002325/0.7631, allocations: 1.254 MB / 1.021 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.7631, allocations: 8.406 kB / 1.021 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.7633, allocations: 124.7 kB / 1.021 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008588/0.7642, allocations: 0.65 MB / 1.022 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.921e-05/0.7643, allocations: 67.53 kB / 1.022 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.7644, allocations: 88.75 kB / 1.022 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.7659, allocations: 0.8313 MB / 1.023 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.7659, allocations: 192 / 1.023 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.766, allocations: 37.47 kB / 1.023 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.7661, allocations: 21.19 kB / 1.023 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.7673, allocations: 0.6408 MB / 1.023 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004299/0.7716, allocations: 2.852 MB / 1.026 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.773, allocations: 0.7201 MB / 1.027 GB, free: 53.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.7736, allocations: 352.6 kB / 1.027 GB, free: 53.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.398e-05/0.7737, allocations: 15.3 kB / 1.027 GB, free: 53.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007145/0.7744, allocations: 337.4 kB / 1.028 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 4.428e-06/0.7744, allocations: 0 / 1.028 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.001807/0.7762, allocations: 0.8322 MB / 1.028 GB, free: 53.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.7763, allocations: 188 kB / 1.029 GB, free: 52.87 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008824/0.7772, allocations: 0.7039 MB / 1.029 GB, free: 52.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.7773, allocations: 37.52 kB / 1.029 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.7776, allocations: 459.7 kB / 1.03 GB, free: 52.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.7777, allocations: 203.1 kB / 1.03 GB, free: 52.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.7778, allocations: 11.19 kB / 1.03 GB, free: 52.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.7779, allocations: 331 kB / 1.03 GB, free: 52.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006019/0.7785, allocations: 281 kB / 1.031 GB, free: 52.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.7792, allocations: 457.3 kB / 1.031 GB, free: 51.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.7805, allocations: 0.6535 MB / 1.032 GB, free: 51.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7805, allocations: 0 / 1.032 GB, free: 51.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001738/0.7823, allocations: 0.8386 MB / 1.032 GB, free: 51.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.7824, allocations: 216.3 kB / 1.033 GB, free: 51.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.7824, allocations: 1.625 kB / 1.033 GB, free: 51.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.7825, allocations: 8.344 kB / 1.033 GB, free: 51.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.7831, allocations: 151 kB / 1.033 GB, free: 51.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.7831, allocations: 10.59 kB / 1.033 GB, free: 51.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007058/0.7838, allocations: 161.2 kB / 1.033 GB, free: 51.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/0.7839, allocations: 28.25 kB / 1.033 GB, free: 51.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.7839, allocations: 3.719 kB / 1.033 GB, free: 51.15 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009911/0.7849, allocations: 0.6048 MB / 1.034 GB, free: 50.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.7849, allocations: 7.75 kB / 1.034 GB, free: 50.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.7849, allocations: 13.8 kB / 1.034 GB, free: 50.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.7853, allocations: 113.6 kB / 1.034 GB, free: 50.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.7854, allocations: 10.12 kB / 1.034 GB, free: 50.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/0.7859, allocations: 129.2 kB / 1.034 GB, free: 50.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.786, allocations: 23.25 kB / 1.034 GB, free: 50.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * 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.0004652/0.7865, allocations: 310.8 kB / 1.034 GB, free: 50.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.7866, allocations: 84.62 kB / 1.034 GB, free: 50.49 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.7867, allocations: 84.23 kB / 1.034 GB, free: 50.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.7867, allocations: 4.594 kB / 1.034 GB, free: 50.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.7868, allocations: 1.188 kB / 1.034 GB, free: 50.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.7868, allocations: 3.469 kB / 1.034 GB, free: 50.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000833/0.7876, allocations: 0.7715 MB / 1.035 GB, free: 50.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.7876, allocations: 0 / 1.035 GB, free: 50.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005036/0.7881, allocations: 126.8 kB / 1.035 GB, free: 50 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.7882, allocations: 9.453 kB / 1.035 GB, free: 50 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.7882, allocations: 14.47 kB / 1.035 GB, free: 49.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.7882, allocations: 1.219 kB / 1.035 GB, free: 49.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7882, allocations: 1.219 kB / 1.035 GB, free: 49.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.79, allocations: 0.9365 MB / 1.036 GB, free: 49.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.7901, allocations: 172.4 kB / 1.036 GB, free: 49.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/0.7902, allocations: 11.41 kB / 1.036 GB, free: 49.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.7905, allocations: 63.59 kB / 1.036 GB, free: 49.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/0.7906, allocations: 35.48 kB / 1.036 GB, free: 49.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.7906, allocations: 21.22 kB / 1.036 GB, free: 49.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006151/0.7912, allocations: 494.6 kB / 1.037 GB, free: 49.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-07/0.7913, allocations: 0 / 1.037 GB, free: 49.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008117/0.7921, allocations: 305.4 kB / 1.037 GB, free: 49.11 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002397/0.7923, allocations: 124.9 kB / 1.037 GB, free: 49.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.7942, allocations: 1.073 MB / 1.038 GB, free: 48.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7942, allocations: 0 / 1.038 GB, free: 48.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005162/0.7947, allocations: 293.6 kB / 1.039 GB, free: 48.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.7955, allocations: 166.9 kB / 1.039 GB, free: 48.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.7979, allocations: 1.729 MB / 1.04 GB, free: 47.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.7983, allocations: 0.9766 MB / 1.041 GB, free: 46.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004059/0.7987, allocations: 97.59 kB / 1.042 GB, free: 46.65 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.7989, allocations: 59.8 kB / 1.042 GB, free: 46.64 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/0.7989, allocations: 0 / 1.042 GB, free: 46.64 MB / 0.7136 GB Notification: Performance of Templates: time 0.01765/0.8166, allocations: 8.435 MB / 1.05 GB, free: 46.21 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)