Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.785/1.785, allocations: 297.4 MB / 312.6 MB, free: 2.91 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.0009815/0.0009816, allocations: 182 kB / 382.3 MB, free: 14.83 MB / 314.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.507/1.507, allocations: 225.7 MB / 0.6617 GB, free: 7.211 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.0009458/0.0009459, allocations: 92.14 kB / 0.7789 GB, free: 47.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004795, allocations: 12.62 kB / 0.9059 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8416/0.8421, allocations: 119.2 MB / 1.022 GB, free: 58.55 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003917/0.8461, allocations: 2.859 MB / 1.025 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003839/0.85, allocations: 2.192 MB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000634/0.8506, allocations: 21.22 kB / 1.027 GB, free: 55.2 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.851, allocations: 120 kB / 1.027 GB, free: 55.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004903/0.8515, allocations: 115.4 kB / 1.027 GB, free: 55.05 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009666/0.8525, allocations: 436 kB / 1.028 GB, free: 54.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001074/0.8535, allocations: 1.117 MB / 1.029 GB, free: 54.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007648/0.8543, allocations: 0.541 MB / 1.03 GB, free: 53.95 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.8547, allocations: 293.2 kB / 1.03 GB, free: 53.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.855, allocations: 352.6 kB / 1.03 GB, free: 53.61 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.691e-05/0.8551, allocations: 30.81 kB / 1.03 GB, free: 53.61 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.8553, allocations: 44.25 kB / 1.03 GB, free: 53.6 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.8554, allocations: 137.3 kB / 1.03 GB, free: 53.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.8557, allocations: 410.5 kB / 1.031 GB, free: 53.22 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.857, allocations: 1.282 MB / 1.032 GB, free: 52.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.857, allocations: 4 kB / 1.032 GB, free: 52.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.857, allocations: 0 / 1.032 GB, free: 52.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.857, allocations: 1.156 kB / 1.032 GB, free: 52.84 MB / 0.698 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.00211/0.8591, allocations: 1.253 MB / 1.033 GB, free: 52.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.8592, allocations: 10.44 kB / 1.033 GB, free: 52.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.8594, allocations: 122.3 kB / 1.033 GB, free: 51.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008547/0.8602, allocations: 0.6462 MB / 1.034 GB, free: 51.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/0.8603, allocations: 68.53 kB / 1.034 GB, free: 51.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.8604, allocations: 87.47 kB / 1.034 GB, free: 51.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.8619, allocations: 0.8284 MB / 1.035 GB, free: 51.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.8619, allocations: 2.062 kB / 1.035 GB, free: 51.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.862, allocations: 40.88 kB / 1.035 GB, free: 51.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.862, allocations: 20.88 kB / 1.035 GB, free: 51.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.8632, allocations: 0.6362 MB / 1.036 GB, free: 50.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003694/0.8669, allocations: 2.854 MB / 1.038 GB, free: 49.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.8683, allocations: 0.7126 MB / 1.039 GB, free: 48.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/0.8689, allocations: 360 kB / 1.039 GB, free: 48.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.869, allocations: 17.91 kB / 1.039 GB, free: 48.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006869/0.8697, allocations: 344.8 kB / 1.04 GB, free: 48.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.457e-06/0.8697, allocations: 0 / 1.04 GB, free: 48.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.001702/0.8714, allocations: 0.8226 MB / 1.041 GB, free: 48.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.8715, allocations: 191.8 kB / 1.041 GB, free: 48.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008881/0.8724, allocations: 0.7005 MB / 1.041 GB, free: 47.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.8724, allocations: 40.02 kB / 1.041 GB, free: 47.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.8728, allocations: 457.9 kB / 1.042 GB, free: 47.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.8729, allocations: 203.8 kB / 1.042 GB, free: 47.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.8729, allocations: 15.94 kB / 1.042 GB, free: 47.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.873, allocations: 332.5 kB / 1.042 GB, free: 46.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.8736, allocations: 274.9 kB / 1.043 GB, free: 46.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/0.8743, allocations: 467 kB / 1.043 GB, free: 46.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.8754, allocations: 0.6511 MB / 1.044 GB, free: 46.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.8754, allocations: 1.344 kB / 1.044 GB, free: 46.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001584/0.877, allocations: 0.861 MB / 1.045 GB, free: 45.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.8772, allocations: 206.6 kB / 1.045 GB, free: 45.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.8772, allocations: 7.062 kB / 1.045 GB, free: 45.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.8772, allocations: 6.188 kB / 1.045 GB, free: 45.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.8778, allocations: 149.4 kB / 1.045 GB, free: 45.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.8779, allocations: 10.77 kB / 1.045 GB, free: 45.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/0.8785, allocations: 169.4 kB / 1.045 GB, free: 45.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.8786, allocations: 25.94 kB / 1.045 GB, free: 45.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.8786, allocations: 5.75 kB / 1.045 GB, free: 45.48 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008076/0.8794, allocations: 0.601 MB / 1.046 GB, free: 45.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.8794, allocations: 7 kB / 1.046 GB, free: 45.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.262e-06/0.8794, allocations: 6.531 kB / 1.046 GB, free: 45.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.8798, allocations: 117.7 kB / 1.046 GB, free: 45.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.8798, allocations: 6.344 kB / 1.046 GB, free: 45.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.8803, allocations: 131.6 kB / 1.046 GB, free: 45.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.8803, allocations: 27.41 kB / 1.046 GB, free: 45.14 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003712/0.8807, allocations: 308.2 kB / 1.046 GB, free: 44.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/0.8808, allocations: 85.06 kB / 1.046 GB, free: 44.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.8809, allocations: 87.81 kB / 1.047 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.881, allocations: 10.08 kB / 1.047 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.881, allocations: 0 / 1.047 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.881, allocations: 0 / 1.047 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008571/0.8818, allocations: 0.7706 MB / 1.047 GB, free: 44.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.8819, allocations: 3.938 kB / 1.047 GB, free: 44.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.8824, allocations: 124.3 kB / 1.047 GB, free: 44.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.8824, allocations: 7.219 kB / 1.047 GB, free: 44.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.8824, allocations: 12.5 kB / 1.047 GB, free: 44.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.8824, allocations: 3.062 kB / 1.047 GB, free: 44.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8824, allocations: 3.875 kB / 1.047 GB, free: 44.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.8839, allocations: 0.9408 MB / 1.048 GB, free: 43.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.8841, allocations: 165.2 kB / 1.048 GB, free: 43.77 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.8841, allocations: 15.86 kB / 1.049 GB, free: 43.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.8845, allocations: 62.69 kB / 1.049 GB, free: 43.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.8845, allocations: 28.73 kB / 1.049 GB, free: 43.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.8846, allocations: 19.83 kB / 1.049 GB, free: 43.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005256/0.8851, allocations: 498.2 kB / 1.049 GB, free: 43.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8851, allocations: 0 / 1.049 GB, free: 43.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006788/0.8858, allocations: 307 kB / 1.049 GB, free: 43.43 MB / 0.698 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 (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.0002347/0.886, allocations: 134.2 kB / 1.05 GB, free: 43.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.8876, allocations: 1.077 MB / 1.051 GB, free: 42.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8876, allocations: 0 / 1.051 GB, free: 42.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.8881, allocations: 293.2 kB / 1.051 GB, free: 42.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007592/0.8889, allocations: 165.2 kB / 1.051 GB, free: 42.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.8911, allocations: 1.823 MB / 1.053 GB, free: 41.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.8915, allocations: 0.9873 MB / 1.054 GB, free: 40.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003911/0.8919, allocations: 93.72 kB / 1.054 GB, free: 40.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.8921, allocations: 59.61 kB / 1.054 GB, free: 40.85 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/0.8921, allocations: 0 / 1.054 GB, free: 40.85 MB / 0.698 GB Notification: Performance of Templates: time 0.01601/0.9081, allocations: 8.748 MB / 1.062 GB, free: 40.3 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)