Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.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.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") 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.714/1.714, allocations: 297.4 MB / 312.6 MB, free: 2.914 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.0009479/0.0009479, allocations: 181.5 kB / 382.3 MB, free: 14.81 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.42/1.42, allocations: 225.7 MB / 0.6617 GB, free: 7.199 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.0009009/0.0009009, allocations: 95.22 kB / 0.7789 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003792, allocations: 8 kB / 0.9058 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.6451, allocations: 119.2 MB / 1.022 GB, free: 58.15 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003575/0.6487, allocations: 3.144 MB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002565/0.6513, allocations: 1.352 MB / 1.027 GB, free: 55.36 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005743/0.6519, allocations: 23.62 kB / 1.027 GB, free: 55.35 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.6522, allocations: 93.08 kB / 1.027 GB, free: 55.29 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005399/0.6528, allocations: 135.6 kB / 1.027 GB, free: 55.2 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.654, allocations: 0.532 MB / 1.027 GB, free: 54.9 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009837/0.655, allocations: 0.8952 MB / 1.028 GB, free: 54.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004775/0.6555, allocations: 330.5 kB / 1.029 GB, free: 54.33 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003163/0.6558, allocations: 285.5 kB / 1.029 GB, free: 54.19 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.6561, allocations: 275.6 kB / 1.029 GB, free: 54.05 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.6561, allocations: 22.91 kB / 1.029 GB, free: 54.05 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.423e-05/0.6562, allocations: 18.34 kB / 1.029 GB, free: 54.05 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.6563, allocations: 114.4 kB / 1.029 GB, free: 53.98 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.6565, allocations: 330.2 kB / 1.03 GB, free: 53.74 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006245/0.6572, allocations: 0.7854 MB / 1.03 GB, free: 53.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6572, allocations: 0.5312 kB / 1.03 GB, free: 53.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6572, allocations: 0 / 1.03 GB, free: 53.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.6572, allocations: 0.6875 kB / 1.03 GB, free: 53.46 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001687/0.6589, allocations: 1.061 MB / 1.031 GB, free: 52.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.659, allocations: 12.42 kB / 1.031 GB, free: 52.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.6591, allocations: 95.72 kB / 1.032 GB, free: 52.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008252/0.6599, allocations: 0.5879 MB / 1.032 GB, free: 52.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.6601, allocations: 98.73 kB / 1.032 GB, free: 52.19 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.31e-05/0.6601, allocations: 55.31 kB / 1.032 GB, free: 52.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.6612, allocations: 0.6209 MB / 1.033 GB, free: 51.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.6613, allocations: 0 / 1.033 GB, free: 51.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.214e-05/0.6613, allocations: 22.69 kB / 1.033 GB, free: 51.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.6613, allocations: 11.84 kB / 1.033 GB, free: 51.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009116/0.6623, allocations: 443.4 kB / 1.033 GB, free: 51.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.6649, allocations: 2.129 MB / 1.035 GB, free: 50.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.666, allocations: 0.5164 MB / 1.036 GB, free: 50.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004107/0.6664, allocations: 228.4 kB / 1.036 GB, free: 49.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.6665, allocations: 7.266 kB / 1.036 GB, free: 49.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006562/0.6672, allocations: 300.3 kB / 1.036 GB, free: 49.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.6672, allocations: 0 / 1.036 GB, free: 49.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001374/0.6685, allocations: 0.6397 MB / 1.037 GB, free: 49.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.6686, allocations: 85 kB / 1.037 GB, free: 49.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.6693, allocations: 0.6073 MB / 1.038 GB, free: 49.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.6693, allocations: 37.11 kB / 1.038 GB, free: 49.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.6695, allocations: 360.2 kB / 1.038 GB, free: 48.88 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.6696, allocations: 159.8 kB / 1.038 GB, free: 48.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.6697, allocations: 8 kB / 1.038 GB, free: 48.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.6697, allocations: 324.9 kB / 1.039 GB, free: 48.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.6701, allocations: 182.3 kB / 1.039 GB, free: 48.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.6706, allocations: 292.4 kB / 1.039 GB, free: 48.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008322/0.6714, allocations: 492.6 kB / 1.039 GB, free: 47.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.6714, allocations: 5 kB / 1.039 GB, free: 47.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001089/0.6725, allocations: 0.617 MB / 1.04 GB, free: 47.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.234e-05/0.6726, allocations: 184.8 kB / 1.04 GB, free: 47.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.6727, allocations: 3.438 kB / 1.04 GB, free: 47.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.6727, allocations: 4.156 kB / 1.04 GB, free: 47.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.6732, allocations: 118.2 kB / 1.04 GB, free: 47.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.6732, allocations: 4.25 kB / 1.04 GB, free: 47.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.6736, allocations: 69.8 kB / 1.04 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.6736, allocations: 17.08 kB / 1.04 GB, free: 47.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.6736, allocations: 13.72 kB / 1.04 GB, free: 47.37 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000884/0.6745, allocations: 0.5004 MB / 1.041 GB, free: 47.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6745, allocations: 4.922 kB / 1.041 GB, free: 47.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.6745, allocations: 2.469 kB / 1.041 GB, free: 47.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.675, allocations: 110.6 kB / 1.041 GB, free: 47.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.675, allocations: 5.469 kB / 1.041 GB, free: 47.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.6753, allocations: 57.86 kB / 1.041 GB, free: 47.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.6754, allocations: 23.23 kB / 1.041 GB, free: 47.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.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 (63): * Single equations (assignments): 62 * 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.0003025/0.6757, allocations: 283.2 kB / 1.041 GB, free: 46.85 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.6758, allocations: 78.08 kB / 1.041 GB, free: 46.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.6759, allocations: 79.91 kB / 1.042 GB, free: 46.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.6759, allocations: 4.594 kB / 1.042 GB, free: 46.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.6759, allocations: 0 / 1.042 GB, free: 46.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.6759, allocations: 3.609 kB / 1.042 GB, free: 46.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/0.6766, allocations: 0.618 MB / 1.042 GB, free: 46.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6766, allocations: 3.938 kB / 1.042 GB, free: 46.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.677, allocations: 92.81 kB / 1.042 GB, free: 46.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.677, allocations: 7.875 kB / 1.042 GB, free: 46.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.6771, allocations: 7 kB / 1.042 GB, free: 46.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.6771, allocations: 3.219 kB / 1.042 GB, free: 46.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.6771, allocations: 2.531 kB / 1.042 GB, free: 46.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.6784, allocations: 0.7503 MB / 1.043 GB, free: 46.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.6786, allocations: 196.4 kB / 1.043 GB, free: 45.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.6787, allocations: 11.56 kB / 1.043 GB, free: 45.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.6791, allocations: 44.94 kB / 1.043 GB, free: 45.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.697e-05/0.6792, allocations: 32.33 kB / 1.043 GB, free: 45.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.6792, allocations: 17.16 kB / 1.043 GB, free: 45.83 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004417/0.6797, allocations: 425.8 kB / 1.044 GB, free: 45.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6797, allocations: 0 / 1.044 GB, free: 45.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005902/0.6803, allocations: 216 kB / 1.044 GB, free: 45.59 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,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001353/0.6804, allocations: 126.3 kB / 1.044 GB, free: 45.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.6819, allocations: 0.8044 MB / 1.045 GB, free: 45.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6819, allocations: 0 / 1.045 GB, free: 45.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003996/0.6823, allocations: 225.2 kB / 1.045 GB, free: 45.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008523/0.6832, allocations: 192.6 kB / 1.045 GB, free: 45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.685, allocations: 1.464 MB / 1.047 GB, free: 44.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.6853, allocations: 0.9145 MB / 1.048 GB, free: 43.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000393/0.6857, allocations: 98.44 kB / 1.048 GB, free: 43.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.6858, allocations: 51.66 kB / 1.048 GB, free: 43.35 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/0.6858, allocations: 3.938 kB / 1.048 GB, free: 43.35 MB / 0.698 GB Notification: Performance of Templates: time 0.01224/0.6981, allocations: 7.12 MB / 1.055 GB, free: 42.91 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)