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.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.944/1.944, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001542/0.001541, allocations: 179.5 kB / 393.1 MB, free: 4.074 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.58/1.58, allocations: 225.7 MB / 0.6743 GB, free: 12.54 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.0008346/0.0008346, allocations: 98.53 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003813, allocations: 12.69 kB / 0.9224 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.7134, allocations: 121.3 MB / 1.041 GB, free: 58.61 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002822/0.7163, allocations: 1.549 MB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003261/0.7196, allocations: 1.699 MB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003617/0.72, allocations: 6.062 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.7203, allocations: 52.11 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004734/0.7207, allocations: 61.14 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009387/0.7217, allocations: 274.3 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008117/0.7225, allocations: 0.5975 MB / 1.045 GB, free: 55.67 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006719/0.7232, allocations: 286.1 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.7235, allocations: 170.6 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.7238, allocations: 186.4 kB / 1.046 GB, free: 55.36 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.987e-05/0.7239, allocations: 20.5 kB / 1.046 GB, free: 55.36 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.724, allocations: 35.5 kB / 1.046 GB, free: 55.35 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.7242, allocations: 82.84 kB / 1.046 GB, free: 55.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.7244, allocations: 231.2 kB / 1.046 GB, free: 55.13 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009854/0.7254, allocations: 0.7009 MB / 1.047 GB, free: 54.94 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.7254, allocations: 7.219 kB / 1.047 GB, free: 54.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.775e-06/0.7254, allocations: 0 / 1.047 GB, free: 54.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.7255, allocations: 0.9688 kB / 1.047 GB, free: 54.93 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001802/0.7273, allocations: 0.8024 MB / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.7273, allocations: 9.094 kB / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.7275, allocations: 61.06 kB / 1.048 GB, free: 54.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007717/0.7283, allocations: 404.4 kB / 1.048 GB, free: 53.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.214e-05/0.7284, allocations: 39.5 kB / 1.048 GB, free: 53.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.7286, allocations: 56.22 kB / 1.048 GB, free: 53.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.7302, allocations: 471.8 kB / 1.048 GB, free: 53.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.7303, allocations: 192 / 1.048 GB, free: 53.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.121e-05/0.7303, allocations: 24.41 kB / 1.048 GB, free: 53.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.7304, allocations: 12.94 kB / 1.048 GB, free: 53.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.7317, allocations: 339.1 kB / 1.049 GB, free: 53.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.7355, allocations: 1.474 MB / 1.05 GB, free: 52.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.737, allocations: 0.8733 MB / 1.051 GB, free: 51.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/0.7376, allocations: 208.3 kB / 1.051 GB, free: 51.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.917e-05/0.7377, allocations: 4.188 kB / 1.051 GB, free: 51.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000711/0.7384, allocations: 233.2 kB / 1.052 GB, free: 51.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 3.126e-06/0.7384, allocations: 0 / 1.052 GB, free: 51.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.001556/0.74, allocations: 0.5032 MB / 1.052 GB, free: 51.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.7401, allocations: 107.8 kB / 1.052 GB, free: 51.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000639/0.7407, allocations: 372.5 kB / 1.052 GB, free: 51.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.7408, allocations: 38.05 kB / 1.053 GB, free: 51.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.741, allocations: 257.9 kB / 1.053 GB, free: 51.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.7412, allocations: 140 kB / 1.053 GB, free: 50.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.7412, allocations: 7.5 kB / 1.053 GB, free: 50.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7413, allocations: 352.2 kB / 1.053 GB, free: 50.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.7419, allocations: 173.2 kB / 1.053 GB, free: 50.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.7425, allocations: 262.7 kB / 1.054 GB, free: 50.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.7436, allocations: 407.6 kB / 1.054 GB, free: 50.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7436, allocations: 0 / 1.054 GB, free: 50.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00155/0.7452, allocations: 0.5339 MB / 1.055 GB, free: 49.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.7454, allocations: 180.8 kB / 1.055 GB, free: 49.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.7454, allocations: 9.031 kB / 1.055 GB, free: 49.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/0.7454, allocations: 2.781 kB / 1.055 GB, free: 49.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005903/0.746, allocations: 90.66 kB / 1.055 GB, free: 49.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.7461, allocations: 7.969 kB / 1.055 GB, free: 49.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/0.7467, allocations: 96.55 kB / 1.055 GB, free: 49.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.7468, allocations: 18.06 kB / 1.055 GB, free: 49.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.7468, allocations: 4.969 kB / 1.055 GB, free: 49.64 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/0.7478, allocations: 425.4 kB / 1.055 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7479, allocations: 1.594 kB / 1.055 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.7479, allocations: 4.5 kB / 1.055 GB, free: 49.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.7483, allocations: 77.86 kB / 1.055 GB, free: 49.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.7483, allocations: 4.844 kB / 1.055 GB, free: 49.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.7489, allocations: 90.06 kB / 1.056 GB, free: 49.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.749, allocations: 20.22 kB / 1.056 GB, free: 49.41 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0003232/0.7493, allocations: 247.7 kB / 1.056 GB, free: 49.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-05/0.7494, allocations: 46.92 kB / 1.056 GB, free: 49.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.7495, allocations: 45.53 kB / 1.056 GB, free: 49.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.7496, allocations: 12.72 kB / 1.056 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.7496, allocations: 3.938 kB / 1.056 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.7496, allocations: 8.156 kB / 1.056 GB, free: 49.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.7517, allocations: 0.9972 MB / 1.057 GB, free: 48.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.7517, allocations: 5.109 kB / 1.057 GB, free: 48.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/0.7522, allocations: 73.67 kB / 1.057 GB, free: 48.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.7522, allocations: 5.5 kB / 1.057 GB, free: 48.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.7523, allocations: 9.828 kB / 1.057 GB, free: 48.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.7523, allocations: 1.938 kB / 1.057 GB, free: 48.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7523, allocations: 0 / 1.057 GB, free: 48.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.7537, allocations: 0.654 MB / 1.058 GB, free: 48.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/0.7538, allocations: 123.1 kB / 1.058 GB, free: 48.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/0.7539, allocations: 6.969 kB / 1.058 GB, free: 48.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.7542, allocations: 28.47 kB / 1.058 GB, free: 48.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.7543, allocations: 23.62 kB / 1.058 GB, free: 48.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.7544, allocations: 15.98 kB / 1.058 GB, free: 48.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003885/0.7548, allocations: 265.6 kB / 1.058 GB, free: 47.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7548, allocations: 0 / 1.058 GB, free: 47.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009104/0.7557, allocations: 184.2 kB / 1.058 GB, free: 47.83 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: 4 ($whenCondition3,$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 (41): * Single equations (assignments): 40 * 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.0002408/0.756, allocations: 131.1 kB / 1.058 GB, free: 47.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.7576, allocations: 0.7175 MB / 1.059 GB, free: 47.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7576, allocations: 0 / 1.059 GB, free: 47.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004747/0.7581, allocations: 182.8 kB / 1.059 GB, free: 47.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008798/0.759, allocations: 96.86 kB / 1.059 GB, free: 47.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.761, allocations: 1.078 MB / 1.06 GB, free: 46.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.7614, allocations: 0.8391 MB / 1.061 GB, free: 45.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003242/0.7617, allocations: 51.61 kB / 1.061 GB, free: 45.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.7619, allocations: 38.88 kB / 1.061 GB, free: 45.87 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.7619, allocations: 3.031 kB / 1.061 GB, free: 45.87 MB / 0.698 GB Notification: Performance of Templates: time 0.01641/0.7783, allocations: 5.339 MB / 1.066 GB, free: 45.53 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)