Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.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.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.52/1.52, allocations: 291.7 MB / 306.8 MB, free: 7.711 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.0009681/0.000968, allocations: 182.2 kB / 375.4 MB, free: 5.133 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.248/1.248, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0007376/0.0007376, allocations: 95.89 kB / 0.7699 GB, free: 50.46 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003995, allocations: 12.62 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.5474, allocations: 118.1 MB / 1.011 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003023/0.5505, allocations: 3.138 MB / 1.014 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.5523, allocations: 1.255 MB / 1.015 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.5526, allocations: 29.25 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.5528, allocations: 85.66 kB / 1.015 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.5532, allocations: 136.2 kB / 1.015 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008659/0.554, allocations: 468.1 kB / 1.016 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000617/0.5546, allocations: 0.845 MB / 1.017 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.555, allocations: 324.9 kB / 1.017 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.5553, allocations: 269.2 kB / 1.017 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.5556, allocations: 264.3 kB / 1.018 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.5556, allocations: 20.97 kB / 1.018 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.927e-05/0.5557, allocations: 23.69 kB / 1.018 GB, free: 56.97 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.821e-05/0.5558, allocations: 106.6 kB / 1.018 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.5559, allocations: 144 kB / 1.018 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.5563, allocations: 0.6167 MB / 1.018 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5563, allocations: 0 / 1.018 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5563, allocations: 0 / 1.018 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.5563, allocations: 0.7812 kB / 1.018 GB, free: 56.83 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001417/0.5577, allocations: 1.055 MB / 1.019 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.5578, allocations: 8 kB / 1.019 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.5579, allocations: 97.7 kB / 1.02 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006858/0.5586, allocations: 0.5987 MB / 1.02 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/0.5587, allocations: 103.8 kB / 1.02 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.5587, allocations: 50.06 kB / 1.02 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008661/0.5596, allocations: 0.6118 MB / 1.021 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5596, allocations: 4.969 kB / 1.021 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.203e-05/0.5597, allocations: 24.72 kB / 1.021 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.5597, allocations: 15.53 kB / 1.021 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008067/0.5605, allocations: 439.7 kB / 1.021 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.5626, allocations: 2.133 MB / 1.023 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.5636, allocations: 0.5149 MB / 1.024 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.564, allocations: 221.4 kB / 1.024 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.5641, allocations: 8.203 kB / 1.024 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005531/0.5646, allocations: 295.7 kB / 1.024 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=45): time 2.424e-06/0.5646, allocations: 0 / 1.024 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.001196/0.5658, allocations: 0.6425 MB / 1.025 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.5659, allocations: 83.64 kB / 1.025 GB, free: 54.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.5664, allocations: 0.6048 MB / 1.026 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.5664, allocations: 40.78 kB / 1.026 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.5666, allocations: 357.3 kB / 1.026 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.5667, allocations: 155.3 kB / 1.026 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.5667, allocations: 10.56 kB / 1.026 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.5668, allocations: 326 kB / 1.027 GB, free: 53.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.5671, allocations: 183.9 kB / 1.027 GB, free: 53.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.5676, allocations: 282.5 kB / 1.027 GB, free: 53.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.5683, allocations: 498.4 kB / 1.027 GB, free: 53.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5684, allocations: 5.031 kB / 1.027 GB, free: 53.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000974/0.5693, allocations: 0.6124 MB / 1.028 GB, free: 53.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.607e-05/0.5694, allocations: 190.8 kB / 1.028 GB, free: 52.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5694, allocations: 2.844 kB / 1.028 GB, free: 52.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.5694, allocations: 5.469 kB / 1.028 GB, free: 52.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.5699, allocations: 116.2 kB / 1.028 GB, free: 52.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.5699, allocations: 9.469 kB / 1.028 GB, free: 52.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.5702, allocations: 69.17 kB / 1.028 GB, free: 52.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.5703, allocations: 19.41 kB / 1.028 GB, free: 52.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-06/0.5703, allocations: 6.812 kB / 1.028 GB, free: 52.87 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000801/0.5711, allocations: 0.513 MB / 1.029 GB, free: 52.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.5711, allocations: 2.812 kB / 1.029 GB, free: 52.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.679e-06/0.5711, allocations: 5.562 kB / 1.029 GB, free: 52.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.5715, allocations: 105 kB / 1.029 GB, free: 52.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.5715, allocations: 3.438 kB / 1.029 GB, free: 52.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.5718, allocations: 58.73 kB / 1.029 GB, free: 52.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.5718, allocations: 22.97 kB / 1.029 GB, free: 52.77 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.572, allocations: 274.8 kB / 1.029 GB, free: 52.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/0.5721, allocations: 80.77 kB / 1.03 GB, free: 52.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.5722, allocations: 77.98 kB / 1.03 GB, free: 52.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5723, allocations: 4.594 kB / 1.03 GB, free: 52.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5723, allocations: 1.25 kB / 1.03 GB, free: 52.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5723, allocations: 5.234 kB / 1.03 GB, free: 52.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.5728, allocations: 0.6145 MB / 1.03 GB, free: 52.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5728, allocations: 7.938 kB / 1.03 GB, free: 52.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.5732, allocations: 90.11 kB / 1.03 GB, free: 52.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5732, allocations: 3 kB / 1.03 GB, free: 52.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.5732, allocations: 10.34 kB / 1.03 GB, free: 52.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5732, allocations: 0 / 1.03 GB, free: 52.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5732, allocations: 0 / 1.03 GB, free: 52.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.5745, allocations: 0.756 MB / 1.031 GB, free: 52.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.5747, allocations: 191.6 kB / 1.031 GB, free: 52.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.5747, allocations: 17.41 kB / 1.031 GB, free: 52.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.5751, allocations: 43.27 kB / 1.031 GB, free: 52.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.5752, allocations: 30.05 kB / 1.031 GB, free: 52.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.5753, allocations: 17.3 kB / 1.031 GB, free: 52.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003786/0.5756, allocations: 426.9 kB / 1.032 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5757, allocations: 0 / 1.032 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004929/0.5762, allocations: 220.3 kB / 1.032 GB, free: 51.9 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,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 (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.0001128/0.5763, allocations: 116.1 kB / 1.032 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.5776, allocations: 0.812 MB / 1.033 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5776, allocations: 0 / 1.033 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.578, allocations: 217.9 kB / 1.033 GB, free: 51.63 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007871/0.5788, allocations: 181.6 kB / 1.033 GB, free: 51.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.5806, allocations: 1.392 MB / 1.035 GB, free: 50.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.5809, allocations: 0.9128 MB / 1.035 GB, free: 50.17 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003641/0.5812, allocations: 93.23 kB / 1.036 GB, free: 50.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.5814, allocations: 49.22 kB / 1.036 GB, free: 50.15 MB / 0.7136 GB Notification: Performance of SimCode: time 3.3e-07/0.5814, allocations: 0 / 1.036 GB, free: 50.15 MB / 0.7136 GB Notification: Performance of Templates: time 0.0114/0.5928, allocations: 6.91 MB / 1.042 GB, free: 49.81 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)