Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.683/1.683, allocations: 306.1 MB / 321.4 MB, free: 10.77 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.001049/0.001049, allocations: 183.5 kB / 393.1 MB, free: 4.078 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.479/1.479, allocations: 225.7 MB / 0.6743 GB, free: 12.63 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.0008435/0.0008436, allocations: 94.86 kB / 0.7935 GB, free: 39.97 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003875, allocations: 9.781 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6202/0.6206, allocations: 121.3 MB / 1.041 GB, free: 58.27 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.002634/0.6233, allocations: 2.304 MB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.6243, allocations: 0.58 MB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.6245, allocations: 14.16 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.6247, allocations: 63.61 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.625, allocations: 40.33 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.6252, allocations: 149.6 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.6257, allocations: 482.1 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.626, allocations: 268.9 kB / 1.045 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.6262, allocations: 114.7 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.6263, allocations: 137.8 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.6264, allocations: 11.16 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.791e-05/0.6264, allocations: 11.62 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.6265, allocations: 66.39 kB / 1.045 GB, free: 55.49 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.6266, allocations: 185.7 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.627, allocations: 0.566 MB / 1.046 GB, free: 55.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.627, allocations: 0 / 1.046 GB, free: 55.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6271, allocations: 0.6875 kB / 1.046 GB, free: 55.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.6271, allocations: 1.125 kB / 1.046 GB, free: 55.18 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0011/0.6282, allocations: 0.7039 MB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.6282, allocations: 9.531 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.6283, allocations: 54.92 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004572/0.6288, allocations: 351.3 kB / 1.047 GB, free: 54.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.6289, allocations: 38.38 kB / 1.047 GB, free: 54.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.216e-05/0.629, allocations: 47.53 kB / 1.047 GB, free: 54.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.6297, allocations: 418.4 kB / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.6297, allocations: 192 / 1.047 GB, free: 54.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.6298, allocations: 19.62 kB / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.6298, allocations: 12.19 kB / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.6304, allocations: 304 kB / 1.048 GB, free: 53.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.6324, allocations: 1.387 MB / 1.049 GB, free: 53.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/0.633, allocations: 300.3 kB / 1.049 GB, free: 52.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.6333, allocations: 131 kB / 1.049 GB, free: 52.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.6333, allocations: 7.531 kB / 1.049 GB, free: 52.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.6334, allocations: 36.11 kB / 1.049 GB, free: 52.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.313e-06/0.6334, allocations: 0 / 1.049 GB, free: 52.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0006259/0.634, allocations: 325.6 kB / 1.05 GB, free: 52.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.6341, allocations: 107.9 kB / 1.05 GB, free: 52.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.6345, allocations: 420.8 kB / 1.05 GB, free: 52.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.6345, allocations: 32.27 kB / 1.05 GB, free: 52.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.6346, allocations: 262.2 kB / 1.051 GB, free: 52.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.6347, allocations: 77.72 kB / 1.051 GB, free: 52.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.6347, allocations: 4 kB / 1.051 GB, free: 52.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.884e-05/0.6348, allocations: 349.8 kB / 1.051 GB, free: 51.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.635, allocations: 111.7 kB / 1.051 GB, free: 51.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.6353, allocations: 209.6 kB / 1.051 GB, free: 51.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.6357, allocations: 291 kB / 1.052 GB, free: 51.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6357, allocations: 2.656 kB / 1.052 GB, free: 51.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005847/0.6363, allocations: 378 kB / 1.052 GB, free: 51.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.792e-05/0.6364, allocations: 152.9 kB / 1.052 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.6364, allocations: 2 kB / 1.052 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.6364, allocations: 6.266 kB / 1.052 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.6367, allocations: 74.19 kB / 1.052 GB, free: 51.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.6367, allocations: 5.234 kB / 1.052 GB, free: 51.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.6369, allocations: 62.69 kB / 1.052 GB, free: 51.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.6369, allocations: 13.75 kB / 1.052 GB, free: 51.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.653e-06/0.6369, allocations: 3.344 kB / 1.052 GB, free: 51.05 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003454/0.6373, allocations: 247.4 kB / 1.052 GB, free: 50.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/0.6373, allocations: 3.938 kB / 1.052 GB, free: 50.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.668e-06/0.6373, allocations: 5.625 kB / 1.052 GB, free: 50.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.6375, allocations: 70.25 kB / 1.053 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.6375, allocations: 10.92 kB / 1.053 GB, free: 50.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.6377, allocations: 41.36 kB / 1.053 GB, free: 50.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.6377, allocations: 9.469 kB / 1.053 GB, free: 50.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.noTri.y,limPID.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.000143/0.6379, allocations: 235.8 kB / 1.053 GB, free: 50.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.6379, allocations: 40.77 kB / 1.053 GB, free: 50.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.715e-05/0.638, allocations: 48.3 kB / 1.053 GB, free: 50.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.638, allocations: 6.281 kB / 1.053 GB, free: 50.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.638, allocations: 0 / 1.053 GB, free: 50.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.638, allocations: 4.172 kB / 1.053 GB, free: 50.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009402/0.639, allocations: 0.7626 MB / 1.054 GB, free: 50.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.639, allocations: 0 / 1.054 GB, free: 50.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.6392, allocations: 45.08 kB / 1.054 GB, free: 50.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.6392, allocations: 6.062 kB / 1.054 GB, free: 50.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.6392, allocations: 3.469 kB / 1.054 GB, free: 50.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.6392, allocations: 10.17 kB / 1.054 GB, free: 50.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6392, allocations: 0 / 1.054 GB, free: 50.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/0.6399, allocations: 473.9 kB / 1.054 GB, free: 49.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.6399, allocations: 124.1 kB / 1.054 GB, free: 49.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.64, allocations: 6.594 kB / 1.054 GB, free: 49.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.6402, allocations: 21.02 kB / 1.054 GB, free: 49.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.6402, allocations: 18.91 kB / 1.054 GB, free: 49.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.6402, allocations: 9.5 kB / 1.054 GB, free: 49.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002772/0.6405, allocations: 298.9 kB / 1.055 GB, free: 49.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6405, allocations: 0 / 1.055 GB, free: 49.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004229/0.6409, allocations: 132.3 kB / 1.055 GB, free: 49.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.000119/0.6411, allocations: 113.7 kB / 1.055 GB, free: 49.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007015/0.6418, allocations: 396.4 kB / 1.055 GB, free: 49.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6418, allocations: 0.875 kB / 1.055 GB, free: 49.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.642, allocations: 106.7 kB / 1.055 GB, free: 49.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/0.6426, allocations: 76.03 kB / 1.055 GB, free: 49.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.6437, allocations: 0.8806 MB / 1.056 GB, free: 48.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.6439, allocations: 0.8074 MB / 1.057 GB, free: 47.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.6441, allocations: 41.78 kB / 1.057 GB, free: 47.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/0.6442, allocations: 30.41 kB / 1.057 GB, free: 47.92 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.6442, allocations: 0 / 1.057 GB, free: 47.92 MB / 0.698 GB Notification: Performance of Templates: time 0.006916/0.6511, allocations: 3.499 MB / 1.061 GB, free: 47.67 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)