Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.986/1.986, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.001139/0.001139, allocations: 188.5 kB / 393.1 MB, free: 4.062 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.553/1.553, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.001016/0.001016, allocations: 93.53 kB / 0.7935 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004077, allocations: 19.52 kB / 0.9224 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.709/0.7095, allocations: 121.3 MB / 1.041 GB, free: 58.28 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003125/0.7126, allocations: 2.766 MB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002858/0.7155, allocations: 2.162 MB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004551/0.716, allocations: 18.88 kB / 1.046 GB, free: 54.62 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.7163, allocations: 120.5 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.7167, allocations: 108.5 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007371/0.7175, allocations: 418.1 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0009253/0.7184, allocations: 1.089 MB / 1.047 GB, free: 53.67 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000709/0.7191, allocations: 0.538 MB / 1.048 GB, free: 53.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.7194, allocations: 278.7 kB / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.7197, allocations: 333.5 kB / 1.049 GB, free: 53.08 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.156e-05/0.7198, allocations: 33.91 kB / 1.049 GB, free: 53.07 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.7199, allocations: 42.72 kB / 1.049 GB, free: 53.07 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.848e-05/0.72, allocations: 130.8 kB / 1.049 GB, free: 53 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.7203, allocations: 391 kB / 1.049 GB, free: 52.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008732/0.7211, allocations: 1.223 MB / 1.05 GB, free: 52.35 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7211, allocations: 0 / 1.05 GB, free: 52.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7212, allocations: 0 / 1.05 GB, free: 52.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.7212, allocations: 0 / 1.05 GB, free: 52.35 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001929/0.7231, allocations: 1.203 MB / 1.051 GB, free: 51.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.7232, allocations: 8.844 kB / 1.051 GB, free: 51.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.7233, allocations: 118 kB / 1.052 GB, free: 51.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.724, allocations: 0.5828 MB / 1.052 GB, free: 51.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.7241, allocations: 68.62 kB / 1.052 GB, free: 51.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.7242, allocations: 86.83 kB / 1.052 GB, free: 51.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.7256, allocations: 0.8293 MB / 1.053 GB, free: 50.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.7256, allocations: 192 / 1.053 GB, free: 50.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/0.7257, allocations: 44.22 kB / 1.053 GB, free: 50.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.7257, allocations: 19.28 kB / 1.053 GB, free: 50.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.7269, allocations: 0.6396 MB / 1.054 GB, free: 50.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003523/0.7304, allocations: 2.831 MB / 1.057 GB, free: 48.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.7318, allocations: 0.7187 MB / 1.057 GB, free: 48.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/0.7324, allocations: 356.9 kB / 1.058 GB, free: 48.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.7324, allocations: 19.25 kB / 1.058 GB, free: 48.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006717/0.7331, allocations: 341.4 kB / 1.058 GB, free: 48.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 2.495e-06/0.7331, allocations: 0 / 1.058 GB, free: 48.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.001596/0.7347, allocations: 0.8122 MB / 1.059 GB, free: 47.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.7348, allocations: 190.5 kB / 1.059 GB, free: 47.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/0.7356, allocations: 0.6643 MB / 1.06 GB, free: 47.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.7356, allocations: 38.94 kB / 1.06 GB, free: 47.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/0.7359, allocations: 429.4 kB / 1.06 GB, free: 47.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.736, allocations: 204.4 kB / 1.06 GB, free: 46.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.7361, allocations: 17.91 kB / 1.06 GB, free: 46.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7362, allocations: 384.1 kB / 1.061 GB, free: 46.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005301/0.7367, allocations: 283.7 kB / 1.061 GB, free: 46.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.7373, allocations: 458.4 kB / 1.061 GB, free: 46.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009965/0.7383, allocations: 0.6584 MB / 1.062 GB, free: 45.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.7384, allocations: 7.25 kB / 1.062 GB, free: 45.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001346/0.7397, allocations: 0.8489 MB / 1.063 GB, free: 45.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.841e-05/0.7398, allocations: 208.8 kB / 1.063 GB, free: 45.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.7398, allocations: 3.188 kB / 1.063 GB, free: 45.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.7399, allocations: 7.766 kB / 1.063 GB, free: 45.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.7404, allocations: 155.3 kB / 1.063 GB, free: 45.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.7404, allocations: 13.75 kB / 1.063 GB, free: 45.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/0.741, allocations: 162.4 kB / 1.063 GB, free: 45.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.7411, allocations: 33.19 kB / 1.063 GB, free: 45.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-06/0.7411, allocations: 3.156 kB / 1.063 GB, free: 45.05 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007964/0.7419, allocations: 0.595 MB / 1.064 GB, free: 44.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7419, allocations: 6.969 kB / 1.064 GB, free: 44.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.7419, allocations: 5.75 kB / 1.064 GB, free: 44.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.7424, allocations: 127.7 kB / 1.064 GB, free: 44.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.7424, allocations: 6.281 kB / 1.064 GB, free: 44.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.7429, allocations: 125 kB / 1.064 GB, free: 44.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.7429, allocations: 27 kB / 1.064 GB, free: 44.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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.0003407/0.7433, allocations: 302.9 kB / 1.064 GB, free: 44.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.7434, allocations: 81.78 kB / 1.065 GB, free: 44.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.7435, allocations: 79.56 kB / 1.065 GB, free: 44.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.7435, allocations: 6.594 kB / 1.065 GB, free: 44.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.7435, allocations: 0 / 1.065 GB, free: 44.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.7435, allocations: 6.797 kB / 1.065 GB, free: 44.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007385/0.7443, allocations: 0.7496 MB / 1.065 GB, free: 43.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7443, allocations: 0.5156 kB / 1.065 GB, free: 43.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/0.7448, allocations: 123.5 kB / 1.066 GB, free: 43.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.7448, allocations: 10.94 kB / 1.066 GB, free: 43.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.7448, allocations: 11.88 kB / 1.066 GB, free: 43.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.7448, allocations: 4.875 kB / 1.066 GB, free: 43.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7448, allocations: 0.5625 kB / 1.066 GB, free: 43.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.7463, allocations: 0.9331 MB / 1.066 GB, free: 43.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.7464, allocations: 171.1 kB / 1.067 GB, free: 43.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.286e-05/0.7465, allocations: 15.7 kB / 1.067 GB, free: 43.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.7468, allocations: 61.94 kB / 1.067 GB, free: 43.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.7469, allocations: 31.16 kB / 1.067 GB, free: 43.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.7469, allocations: 28.59 kB / 1.067 GB, free: 43.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004723/0.7474, allocations: 464 kB / 1.067 GB, free: 43.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7474, allocations: 0 / 1.067 GB, free: 43.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006272/0.748, allocations: 307 kB / 1.067 GB, free: 43.02 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,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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.0001825/0.7482, allocations: 129.1 kB / 1.068 GB, free: 42.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.7498, allocations: 1.075 MB / 1.069 GB, free: 42.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7498, allocations: 3.938 kB / 1.069 GB, free: 42.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.7502, allocations: 290.2 kB / 1.069 GB, free: 42.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007502/0.751, allocations: 161 kB / 1.069 GB, free: 42.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.753, allocations: 1.756 MB / 1.071 GB, free: 41.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.7534, allocations: 0.9642 MB / 1.072 GB, free: 40.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003579/0.7537, allocations: 92.22 kB / 1.072 GB, free: 40.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.7539, allocations: 60.16 kB / 1.072 GB, free: 40.49 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/0.7539, allocations: 4 kB / 1.072 GB, free: 40.49 MB / 0.698 GB Notification: Performance of Templates: time 0.01487/0.7688, allocations: 8.673 MB / 1.08 GB, free: 39.94 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)