Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.749/1.749, allocations: 306.1 MB / 321.4 MB, free: 10.79 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.001496/0.001496, allocations: 187.2 kB / 393.1 MB, free: 4.09 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.492/1.492, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.000802/0.0008021, allocations: 98.73 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003771, allocations: 11.56 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5856/0.586, allocations: 121.3 MB / 1.041 GB, free: 58.35 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003789/0.5899, allocations: 3.673 MB / 1.044 GB, free: 55.76 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002583/0.5925, allocations: 1.503 MB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005908/0.5931, allocations: 37.56 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.5934, allocations: 120.3 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005532/0.594, allocations: 184.7 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.5952, allocations: 0.6149 MB / 1.047 GB, free: 54.12 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009901/0.5961, allocations: 1.144 MB / 1.048 GB, free: 53.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006861/0.5968, allocations: 484.4 kB / 1.048 GB, free: 53.37 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004564/0.5973, allocations: 342.6 kB / 1.049 GB, free: 53.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.5977, allocations: 354.9 kB / 1.049 GB, free: 53.01 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.785e-05/0.5977, allocations: 27.06 kB / 1.049 GB, free: 53.01 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-05/0.5978, allocations: 26.22 kB / 1.049 GB, free: 53.01 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.5979, allocations: 151.1 kB / 1.049 GB, free: 52.92 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.5982, allocations: 407.6 kB / 1.05 GB, free: 52.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000702/0.5989, allocations: 1.019 MB / 1.051 GB, free: 52.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5989, allocations: 0 / 1.051 GB, free: 52.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5989, allocations: 0 / 1.051 GB, free: 52.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.5989, allocations: 4 kB / 1.051 GB, free: 52.25 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001944/0.6009, allocations: 1.233 MB / 1.052 GB, free: 51.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.6009, allocations: 10.19 kB / 1.052 GB, free: 51.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.6011, allocations: 122.6 kB / 1.052 GB, free: 51.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.6021, allocations: 0.7263 MB / 1.053 GB, free: 50.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.12e-05/0.6022, allocations: 81.11 kB / 1.053 GB, free: 50.85 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/0.6023, allocations: 76.28 kB / 1.053 GB, free: 50.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.6035, allocations: 0.7402 MB / 1.054 GB, free: 50.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.6035, allocations: 0 / 1.054 GB, free: 50.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/0.6036, allocations: 29.06 kB / 1.054 GB, free: 50.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.6036, allocations: 23.16 kB / 1.054 GB, free: 50.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.6046, allocations: 0.5268 MB / 1.054 GB, free: 50.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.6075, allocations: 2.286 MB / 1.056 GB, free: 48.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.6088, allocations: 0.6347 MB / 1.057 GB, free: 48.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004816/0.6092, allocations: 275.8 kB / 1.057 GB, free: 48.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.6093, allocations: 13.59 kB / 1.057 GB, free: 48.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006377/0.6099, allocations: 329.4 kB / 1.058 GB, free: 48.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.033e-06/0.61, allocations: 0 / 1.058 GB, free: 48.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001398/0.6114, allocations: 0.7676 MB / 1.058 GB, free: 48.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.6114, allocations: 87.33 kB / 1.058 GB, free: 47.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007593/0.6122, allocations: 0.7497 MB / 1.059 GB, free: 47.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.6122, allocations: 36.92 kB / 1.059 GB, free: 47.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.6125, allocations: 435.8 kB / 1.06 GB, free: 47.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.6126, allocations: 209.8 kB / 1.06 GB, free: 47.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.6126, allocations: 12 kB / 1.06 GB, free: 47.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.418e-05/0.6127, allocations: 330.7 kB / 1.06 GB, free: 46.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004093/0.6131, allocations: 205 kB / 1.06 GB, free: 46.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.6135, allocations: 314.4 kB / 1.061 GB, free: 46.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007996/0.6143, allocations: 0.5154 MB / 1.061 GB, free: 46.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6144, allocations: 0 / 1.061 GB, free: 46.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001037/0.6154, allocations: 0.6563 MB / 1.062 GB, free: 45.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.399e-05/0.6155, allocations: 170.7 kB / 1.062 GB, free: 45.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6155, allocations: 7.938 kB / 1.062 GB, free: 45.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.6155, allocations: 6.438 kB / 1.062 GB, free: 45.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.6161, allocations: 147.9 kB / 1.062 GB, free: 45.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.6161, allocations: 7 kB / 1.062 GB, free: 45.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.6165, allocations: 82.39 kB / 1.062 GB, free: 45.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.6166, allocations: 21.62 kB / 1.062 GB, free: 45.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-06/0.6166, allocations: 2.781 kB / 1.062 GB, free: 45.71 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008577/0.6174, allocations: 0.5227 MB / 1.063 GB, free: 45.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.6175, allocations: 3 kB / 1.063 GB, free: 45.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.511e-06/0.6175, allocations: 6.875 kB / 1.063 GB, free: 45.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.618, allocations: 140.2 kB / 1.063 GB, free: 45.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.618, allocations: 3.031 kB / 1.063 GB, free: 45.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.6184, allocations: 70.97 kB / 1.063 GB, free: 45.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.6184, allocations: 21.17 kB / 1.063 GB, free: 45.44 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002618/0.6187, allocations: 297.9 kB / 1.063 GB, free: 45.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-05/0.6188, allocations: 96.11 kB / 1.063 GB, free: 45.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.6189, allocations: 101.7 kB / 1.063 GB, free: 45.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.619, allocations: 6.438 kB / 1.063 GB, free: 45.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.619, allocations: 4 kB / 1.063 GB, free: 45.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.619, allocations: 3.562 kB / 1.063 GB, free: 45.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.6208, allocations: 1.454 MB / 1.065 GB, free: 44.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6209, allocations: 3.938 kB / 1.065 GB, free: 44.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/0.6214, allocations: 103.7 kB / 1.065 GB, free: 44.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6214, allocations: 3.5 kB / 1.065 GB, free: 44.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.6214, allocations: 19.44 kB / 1.065 GB, free: 44.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.6214, allocations: 3.375 kB / 1.065 GB, free: 44.28 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6214, allocations: 4.875 kB / 1.065 GB, free: 44.28 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.6228, allocations: 0.9738 MB / 1.066 GB, free: 43.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.623, allocations: 220.2 kB / 1.066 GB, free: 43.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.154e-05/0.6231, allocations: 18.78 kB / 1.066 GB, free: 43.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.6235, allocations: 40.16 kB / 1.066 GB, free: 43.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/0.6236, allocations: 35.61 kB / 1.066 GB, free: 43.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.6236, allocations: 20.59 kB / 1.066 GB, free: 43.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000506/0.6241, allocations: 0.5078 MB / 1.067 GB, free: 43.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/0.6241, allocations: 0 / 1.067 GB, free: 43.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005943/0.6247, allocations: 281.1 kB / 1.067 GB, free: 43.28 MB / 0.698 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 (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.0001431/0.6249, allocations: 130.8 kB / 1.067 GB, free: 43.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.6262, allocations: 0.7987 MB / 1.068 GB, free: 42.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6263, allocations: 4.125 kB / 1.068 GB, free: 42.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004289/0.6267, allocations: 268.9 kB / 1.068 GB, free: 42.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009984/0.6277, allocations: 246.7 kB / 1.068 GB, free: 42.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.6298, allocations: 1.933 MB / 1.07 GB, free: 41.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.6301, allocations: 0.9903 MB / 1.071 GB, free: 40.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004573/0.6306, allocations: 118.7 kB / 1.071 GB, free: 40.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.6308, allocations: 57.81 kB / 1.071 GB, free: 40.8 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.6308, allocations: 0 / 1.071 GB, free: 40.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01566/0.6464, allocations: 8.7 MB / 1.08 GB, free: 40.2 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)