Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.508/1.508, allocations: 291.7 MB / 306.8 MB, free: 7.707 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.0009174/0.0009176, allocations: 178.5 kB / 375.4 MB, free: 5.113 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.252/1.252, allocations: 225.7 MB / 0.6538 GB, free: 13.6 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.0007519/0.0007518, allocations: 93.61 kB / 0.7699 GB, free: 50.18 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004238, allocations: 14.53 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.5662, allocations: 118.1 MB / 1.011 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003416/0.5697, allocations: 3.669 MB / 1.014 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.5719, allocations: 1.498 MB / 1.016 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.5723, allocations: 33.72 kB / 1.016 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.5725, allocations: 117 kB / 1.016 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.573, allocations: 180.4 kB / 1.016 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009976/0.574, allocations: 0.5115 MB / 1.017 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008672/0.5749, allocations: 1.076 MB / 1.018 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000626/0.5755, allocations: 480.2 kB / 1.018 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.5759, allocations: 337.5 kB / 1.019 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.5762, allocations: 335.6 kB / 1.019 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.776e-05/0.5763, allocations: 28.61 kB / 1.019 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.371e-05/0.5764, allocations: 26.38 kB / 1.019 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.5765, allocations: 138.4 kB / 1.019 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.5766, allocations: 169.8 kB / 1.019 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005364/0.5772, allocations: 0.8141 MB / 1.02 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5772, allocations: 0 / 1.02 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5772, allocations: 0 / 1.02 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.5772, allocations: 2.094 kB / 1.02 GB, free: 56.16 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001733/0.5789, allocations: 1.239 MB / 1.021 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.579, allocations: 9 kB / 1.021 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.5791, allocations: 122.5 kB / 1.021 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009103/0.58, allocations: 0.7321 MB / 1.022 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.09e-05/0.5801, allocations: 76.92 kB / 1.022 GB, free: 55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.101e-05/0.5802, allocations: 72.28 kB / 1.022 GB, free: 55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.5812, allocations: 0.7368 MB / 1.023 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.5813, allocations: 3.938 kB / 1.023 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.362e-05/0.5813, allocations: 32.19 kB / 1.023 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.5813, allocations: 17.09 kB / 1.023 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009182/0.5823, allocations: 0.5237 MB / 1.024 GB, free: 54.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.5849, allocations: 2.302 MB / 1.026 GB, free: 53.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.586, allocations: 0.6292 MB / 1.026 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/0.5865, allocations: 277.6 kB / 1.027 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.5866, allocations: 10.92 kB / 1.027 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005979/0.5872, allocations: 330.1 kB / 1.027 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 1.984e-06/0.5872, allocations: 0 / 1.027 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.001412/0.5886, allocations: 0.7742 MB / 1.028 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.5886, allocations: 84.64 kB / 1.028 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/0.5894, allocations: 0.7467 MB / 1.029 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.5894, allocations: 38.23 kB / 1.029 GB, free: 53.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.5897, allocations: 441.3 kB / 1.029 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.5898, allocations: 206.5 kB / 1.029 GB, free: 53.22 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.5898, allocations: 14.56 kB / 1.029 GB, free: 53.22 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.511e-05/0.5899, allocations: 330.2 kB / 1.03 GB, free: 52.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/0.5903, allocations: 205.4 kB / 1.03 GB, free: 52.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.5907, allocations: 312.5 kB / 1.03 GB, free: 52.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008425/0.5916, allocations: 0.5138 MB / 1.031 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5916, allocations: 0 / 1.031 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001212/0.5928, allocations: 0.655 MB / 1.031 GB, free: 52.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.52e-05/0.5929, allocations: 164.9 kB / 1.031 GB, free: 52.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5929, allocations: 3.938 kB / 1.031 GB, free: 52.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.593, allocations: 4.812 kB / 1.031 GB, free: 52.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.5936, allocations: 148.2 kB / 1.031 GB, free: 52.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.5936, allocations: 4.188 kB / 1.031 GB, free: 52.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.594, allocations: 79.19 kB / 1.032 GB, free: 52.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.594, allocations: 26.53 kB / 1.032 GB, free: 52.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.594, allocations: 3.531 kB / 1.032 GB, free: 52.38 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00102/0.5951, allocations: 0.5223 MB / 1.032 GB, free: 52.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.5951, allocations: 3.312 kB / 1.032 GB, free: 52.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.5951, allocations: 5.078 kB / 1.032 GB, free: 52.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/0.5957, allocations: 143.1 kB / 1.032 GB, free: 52.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5957, allocations: 5.781 kB / 1.032 GB, free: 52.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.596, allocations: 69.92 kB / 1.032 GB, free: 52.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.5961, allocations: 19.78 kB / 1.032 GB, free: 52.27 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0002894/0.5964, allocations: 299.4 kB / 1.033 GB, free: 52.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.5965, allocations: 89.69 kB / 1.033 GB, free: 51.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.5967, allocations: 107.5 kB / 1.033 GB, free: 51.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.5967, allocations: 6.438 kB / 1.033 GB, free: 51.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.5967, allocations: 5.375 kB / 1.033 GB, free: 51.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5967, allocations: 7.172 kB / 1.033 GB, free: 51.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.5986, allocations: 1.452 MB / 1.034 GB, free: 51.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5986, allocations: 2.062 kB / 1.034 GB, free: 51.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.5991, allocations: 109.4 kB / 1.034 GB, free: 51.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5992, allocations: 2.438 kB / 1.034 GB, free: 51.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/0.5992, allocations: 16.19 kB / 1.034 GB, free: 51.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5992, allocations: 7.5 kB / 1.034 GB, free: 51.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5992, allocations: 0 / 1.034 GB, free: 51.11 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.6008, allocations: 0.9651 MB / 1.035 GB, free: 50.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.601, allocations: 231 kB / 1.036 GB, free: 50.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/0.6011, allocations: 14.81 kB / 1.036 GB, free: 50.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.6015, allocations: 43.52 kB / 1.036 GB, free: 50.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/0.6016, allocations: 37.05 kB / 1.036 GB, free: 50.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.6016, allocations: 16.81 kB / 1.036 GB, free: 50.42 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005103/0.6021, allocations: 0.5088 MB / 1.036 GB, free: 50.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6021, allocations: 1.219 kB / 1.036 GB, free: 50.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000631/0.6028, allocations: 278.4 kB / 1.036 GB, free: 50.12 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001185/0.6029, allocations: 119 kB / 1.037 GB, free: 50.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001389/0.6043, allocations: 0.8012 MB / 1.037 GB, free: 49.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6043, allocations: 128 / 1.037 GB, free: 49.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.6047, allocations: 277.8 kB / 1.038 GB, free: 49.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.6058, allocations: 232.8 kB / 1.038 GB, free: 49.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.6083, allocations: 1.823 MB / 1.04 GB, free: 48.51 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.6086, allocations: 1.001 MB / 1.041 GB, free: 47.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004736/0.6091, allocations: 121.9 kB / 1.041 GB, free: 47.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.6093, allocations: 59.66 kB / 1.041 GB, free: 47.76 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.6093, allocations: 0 / 1.041 GB, free: 47.76 MB / 0.7136 GB Notification: Performance of Templates: time 0.01489/0.6242, allocations: 8.399 MB / 1.049 GB, free: 47.33 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)