Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.736/1.736, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.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.001069/0.001069, allocations: 175.5 kB / 393.1 MB, free: 4.074 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.421/1.421, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008413/0.0008416, allocations: 96.02 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 8 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.6997, allocations: 121.3 MB / 1.041 GB, free: 58.77 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003618/0.7034, allocations: 3.147 MB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002563/0.706, allocations: 1.339 MB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.7065, allocations: 23.44 kB / 1.045 GB, free: 55.58 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.7068, allocations: 94.73 kB / 1.045 GB, free: 55.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004963/0.7073, allocations: 144.9 kB / 1.045 GB, free: 55.42 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.7084, allocations: 0.5316 MB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008905/0.7093, allocations: 0.8979 MB / 1.047 GB, free: 54.7 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005231/0.7099, allocations: 331.8 kB / 1.047 GB, free: 54.55 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003483/0.7102, allocations: 279.2 kB / 1.047 GB, free: 54.42 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002911/0.7105, allocations: 276 kB / 1.048 GB, free: 54.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.122e-05/0.7106, allocations: 21.12 kB / 1.048 GB, free: 54.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.7107, allocations: 21.88 kB / 1.048 GB, free: 54.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.7108, allocations: 113.3 kB / 1.048 GB, free: 54.21 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.711, allocations: 330.6 kB / 1.048 GB, free: 53.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006485/0.7117, allocations: 0.7868 MB / 1.049 GB, free: 53.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7117, allocations: 0 / 1.049 GB, free: 53.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7117, allocations: 3.031 kB / 1.049 GB, free: 53.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.7117, allocations: 0 / 1.049 GB, free: 53.68 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.001778/0.7135, allocations: 1.05 MB / 1.05 GB, free: 52.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.7136, allocations: 10.06 kB / 1.05 GB, free: 52.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.7137, allocations: 93.28 kB / 1.05 GB, free: 52.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.7146, allocations: 0.5995 MB / 1.051 GB, free: 52.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.7147, allocations: 103.2 kB / 1.051 GB, free: 52.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.188e-05/0.7148, allocations: 58.75 kB / 1.051 GB, free: 52.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.7159, allocations: 0.6117 MB / 1.051 GB, free: 52.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.7159, allocations: 0.8438 kB / 1.051 GB, free: 52.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.716, allocations: 27.12 kB / 1.051 GB, free: 52.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.716, allocations: 12.06 kB / 1.051 GB, free: 52.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/0.717, allocations: 440.8 kB / 1.052 GB, free: 51.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.7196, allocations: 2.131 MB / 1.054 GB, free: 50.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.7208, allocations: 0.5147 MB / 1.054 GB, free: 50.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/0.7213, allocations: 225.3 kB / 1.055 GB, free: 50.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.7213, allocations: 7.812 kB / 1.055 GB, free: 50.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007366/0.722, allocations: 298.9 kB / 1.055 GB, free: 50.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.595e-06/0.7221, allocations: 4 kB / 1.055 GB, free: 50.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001448/0.7235, allocations: 0.631 MB / 1.056 GB, free: 49.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.7236, allocations: 94.3 kB / 1.056 GB, free: 49.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007138/0.7243, allocations: 0.6061 MB / 1.056 GB, free: 49.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.7243, allocations: 41.7 kB / 1.056 GB, free: 49.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.7246, allocations: 351.8 kB / 1.057 GB, free: 49.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.7247, allocations: 159.8 kB / 1.057 GB, free: 48.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.7247, allocations: 11.41 kB / 1.057 GB, free: 48.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.7248, allocations: 324.6 kB / 1.057 GB, free: 48.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.7252, allocations: 182.7 kB / 1.057 GB, free: 48.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/0.7257, allocations: 290.4 kB / 1.058 GB, free: 48.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/0.7266, allocations: 490.1 kB / 1.058 GB, free: 48.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7266, allocations: 3.938 kB / 1.058 GB, free: 48.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001073/0.7277, allocations: 0.6192 MB / 1.059 GB, free: 47.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/0.7278, allocations: 188 kB / 1.059 GB, free: 47.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.7278, allocations: 3 kB / 1.059 GB, free: 47.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.7278, allocations: 2.938 kB / 1.059 GB, free: 47.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/0.7283, allocations: 117.7 kB / 1.059 GB, free: 47.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.7283, allocations: 7.031 kB / 1.059 GB, free: 47.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.7287, allocations: 64.84 kB / 1.059 GB, free: 47.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.7287, allocations: 16.83 kB / 1.059 GB, free: 47.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-06/0.7288, allocations: 14.03 kB / 1.059 GB, free: 47.59 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008814/0.7297, allocations: 0.4992 MB / 1.06 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.7297, allocations: 4.438 kB / 1.06 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/0.7297, allocations: 3.219 kB / 1.06 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.7301, allocations: 108.1 kB / 1.06 GB, free: 47.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7301, allocations: 4.719 kB / 1.06 GB, free: 47.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/0.7305, allocations: 62.48 kB / 1.06 GB, free: 47.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.7305, allocations: 19.75 kB / 1.06 GB, free: 47.32 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.0002997/0.7308, allocations: 275.9 kB / 1.06 GB, free: 47.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.7309, allocations: 80.12 kB / 1.06 GB, free: 47.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.731, allocations: 78.89 kB / 1.06 GB, free: 46.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.731, allocations: 5.094 kB / 1.06 GB, free: 46.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.7311, allocations: 0 / 1.06 GB, free: 46.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.7311, allocations: 6.531 kB / 1.06 GB, free: 46.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.7317, allocations: 0.6262 MB / 1.061 GB, free: 46.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.7317, allocations: 3.938 kB / 1.061 GB, free: 46.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.7322, allocations: 88.12 kB / 1.061 GB, free: 46.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.7322, allocations: 6.906 kB / 1.061 GB, free: 46.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.7322, allocations: 10.38 kB / 1.061 GB, free: 46.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7322, allocations: 2.719 kB / 1.061 GB, free: 46.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.7323, allocations: 2.219 kB / 1.061 GB, free: 46.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.7336, allocations: 0.7442 MB / 1.062 GB, free: 46.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.7339, allocations: 199 kB / 1.062 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.7339, allocations: 11.92 kB / 1.062 GB, free: 46.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.7343, allocations: 47.66 kB / 1.062 GB, free: 46.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.931e-05/0.7344, allocations: 30.45 kB / 1.062 GB, free: 46.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.7345, allocations: 17.5 kB / 1.062 GB, free: 46.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004576/0.7349, allocations: 423.4 kB / 1.062 GB, free: 45.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7349, allocations: 0 / 1.062 GB, free: 45.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005667/0.7355, allocations: 219.8 kB / 1.063 GB, free: 45.8 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.0001391/0.7357, allocations: 117 kB / 1.063 GB, free: 45.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.7371, allocations: 0.811 MB / 1.063 GB, free: 45.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7371, allocations: 0 / 1.063 GB, free: 45.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.7375, allocations: 225.9 kB / 1.064 GB, free: 45.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008591/0.7384, allocations: 188.1 kB / 1.064 GB, free: 45.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.7404, allocations: 1.465 MB / 1.065 GB, free: 44.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.7408, allocations: 0.9156 MB / 1.066 GB, free: 43.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004157/0.7413, allocations: 95.61 kB / 1.066 GB, free: 43.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.7414, allocations: 46.44 kB / 1.066 GB, free: 43.57 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/0.7414, allocations: 0 / 1.066 GB, free: 43.57 MB / 0.698 GB Notification: Performance of Templates: time 0.01312/0.7545, allocations: 7.14 MB / 1.073 GB, free: 43.11 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)