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.PIDWithResetScale.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.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.855/1.855, 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.001313/0.001313, allocations: 179.2 kB / 393.1 MB, free: 4.109 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.714/1.714, allocations: 225.7 MB / 0.6743 GB, free: 12.62 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.000755/0.0007551, allocations: 96.03 kB / 0.7935 GB, free: 39.97 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003491, allocations: 13 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.706/0.7064, allocations: 121.3 MB / 1.041 GB, free: 57.9 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.00212/0.7085, allocations: 1.626 MB / 1.042 GB, free: 56.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002615/0.7112, allocations: 1.873 MB / 1.044 GB, free: 55.3 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.7115, allocations: 9.531 kB / 1.044 GB, free: 55.3 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.7117, allocations: 56.45 kB / 1.044 GB, free: 55.27 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.7121, allocations: 64.02 kB / 1.044 GB, free: 55.22 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008466/0.7129, allocations: 365.6 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006661/0.7136, allocations: 0.6774 MB / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.7141, allocations: 313.9 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.7144, allocations: 195.3 kB / 1.046 GB, free: 54.47 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.7146, allocations: 219.3 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.225e-05/0.7147, allocations: 22.16 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.7148, allocations: 36.38 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.7149, allocations: 83.56 kB / 1.046 GB, free: 54.31 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.7151, allocations: 266.4 kB / 1.047 GB, free: 54.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.7161, allocations: 0.7811 MB / 1.047 GB, free: 53.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/0.7162, allocations: 0.7031 kB / 1.047 GB, free: 53.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.336e-06/0.7162, allocations: 1.281 kB / 1.047 GB, free: 53.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.7162, allocations: 0 / 1.047 GB, free: 53.9 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001785/0.718, allocations: 0.8568 MB / 1.048 GB, free: 53.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.718, allocations: 7.219 kB / 1.048 GB, free: 53.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.7182, allocations: 75.56 kB / 1.048 GB, free: 53.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/0.7188, allocations: 416 kB / 1.049 GB, free: 52.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.256e-05/0.7189, allocations: 40.41 kB / 1.049 GB, free: 52.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.719, allocations: 59.09 kB / 1.049 GB, free: 52.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009136/0.7199, allocations: 0.4926 MB / 1.049 GB, free: 52.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.7199, allocations: 192 / 1.049 GB, free: 52.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.72, allocations: 28.16 kB / 1.049 GB, free: 52.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.72, allocations: 11.22 kB / 1.049 GB, free: 52.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007252/0.7207, allocations: 358 kB / 1.05 GB, free: 52.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.723, allocations: 1.579 MB / 1.051 GB, free: 51.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008504/0.7238, allocations: 0.8904 MB / 1.052 GB, free: 50.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/0.7242, allocations: 230.6 kB / 1.052 GB, free: 50.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.7243, allocations: 13.44 kB / 1.052 GB, free: 50.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000523/0.7248, allocations: 262 kB / 1.052 GB, free: 50.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.164e-06/0.7248, allocations: 0 / 1.052 GB, free: 50.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=47): time 0.001158/0.726, allocations: 0.5477 MB / 1.053 GB, free: 50.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.726, allocations: 113.4 kB / 1.053 GB, free: 50.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/0.7265, allocations: 395.6 kB / 1.053 GB, free: 50.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.7265, allocations: 38.77 kB / 1.054 GB, free: 50.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.7267, allocations: 265.7 kB / 1.054 GB, free: 49.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.7268, allocations: 150.3 kB / 1.054 GB, free: 49.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.7268, allocations: 11.91 kB / 1.054 GB, free: 49.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.7269, allocations: 358.1 kB / 1.054 GB, free: 49.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.7273, allocations: 195.2 kB / 1.054 GB, free: 49.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.7278, allocations: 290.7 kB / 1.055 GB, free: 49.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/0.7285, allocations: 469.7 kB / 1.055 GB, free: 48.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7285, allocations: 0 / 1.055 GB, free: 48.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001068/0.7295, allocations: 0.6337 MB / 1.056 GB, free: 48.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.7297, allocations: 204.3 kB / 1.056 GB, free: 48.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.7297, allocations: 5.094 kB / 1.056 GB, free: 48.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.7298, allocations: 4.562 kB / 1.056 GB, free: 48.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.7301, allocations: 91.41 kB / 1.056 GB, free: 48.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.7302, allocations: 5.812 kB / 1.056 GB, free: 48.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/0.7307, allocations: 133.9 kB / 1.056 GB, free: 48.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.499e-05/0.7308, allocations: 26.92 kB / 1.056 GB, free: 48.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.7308, allocations: 3.375 kB / 1.056 GB, free: 48.29 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008083/0.7316, allocations: 0.5326 MB / 1.057 GB, free: 48.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7316, allocations: 6.156 kB / 1.057 GB, free: 48.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.07e-06/0.7316, allocations: 7.531 kB / 1.057 GB, free: 48.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.7319, allocations: 75.89 kB / 1.057 GB, free: 48.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.7319, allocations: 3.531 kB / 1.057 GB, free: 48.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.7324, allocations: 118.7 kB / 1.057 GB, free: 47.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.7325, allocations: 23.66 kB / 1.057 GB, free: 47.98 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0002439/0.7327, allocations: 260.5 kB / 1.057 GB, free: 47.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.7328, allocations: 49.16 kB / 1.057 GB, free: 47.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.433e-05/0.7329, allocations: 52.09 kB / 1.057 GB, free: 47.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.7329, allocations: 4.469 kB / 1.057 GB, free: 47.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.7329, allocations: 0 / 1.057 GB, free: 47.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.7329, allocations: 7.25 kB / 1.057 GB, free: 47.69 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.7343, allocations: 1.083 MB / 1.058 GB, free: 47.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7343, allocations: 0 / 1.058 GB, free: 47.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.7347, allocations: 77.59 kB / 1.058 GB, free: 47.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.7347, allocations: 2.969 kB / 1.058 GB, free: 47.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.7347, allocations: 12.5 kB / 1.058 GB, free: 47.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.7347, allocations: 3.703 kB / 1.058 GB, free: 47.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7347, allocations: 0 / 1.058 GB, free: 47.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009852/0.7357, allocations: 0.7164 MB / 1.059 GB, free: 46.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.7358, allocations: 123.7 kB / 1.059 GB, free: 46.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.7359, allocations: 12.53 kB / 1.059 GB, free: 46.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.7361, allocations: 30.05 kB / 1.059 GB, free: 46.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.7362, allocations: 32.67 kB / 1.059 GB, free: 46.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.7362, allocations: 20.69 kB / 1.059 GB, free: 46.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002818/0.7365, allocations: 274.1 kB / 1.06 GB, free: 46.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7365, allocations: 0 / 1.06 GB, free: 46.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005794/0.7371, allocations: 220 kB / 1.06 GB, free: 46.33 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * 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.000233/0.7373, allocations: 133.8 kB / 1.06 GB, free: 46.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.7387, allocations: 0.9521 MB / 1.061 GB, free: 45.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7387, allocations: 64 / 1.061 GB, free: 45.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.739, allocations: 202 kB / 1.061 GB, free: 45.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.7396, allocations: 94.86 kB / 1.061 GB, free: 45.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.7414, allocations: 1.142 MB / 1.062 GB, free: 44.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.742, allocations: 0.855 MB / 1.063 GB, free: 44.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002594/0.7422, allocations: 55.88 kB / 1.063 GB, free: 44.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.7423, allocations: 37.38 kB / 1.063 GB, free: 44.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.204e-06/0.7424, allocations: 3.938 kB / 1.063 GB, free: 44.16 MB / 0.698 GB Notification: Performance of Templates: time 0.01348/0.7558, allocations: 6.714 MB / 1.07 GB, free: 43.69 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)