Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.808/1.808, allocations: 297.4 MB / 312.6 MB, free: 2.949 MB / 234.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.001585/0.001585, allocations: 194 kB / 382.3 MB, free: 14.83 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.648/1.648, allocations: 225.7 MB / 0.6617 GB, free: 7.242 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008925/0.0008926, allocations: 91.28 kB / 0.7789 GB, free: 47.01 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004134, allocations: 12.75 kB / 0.9059 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7477/0.7481, allocations: 119.2 MB / 1.022 GB, free: 58.06 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002353/0.7505, allocations: 1.652 MB / 1.024 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002864/0.7534, allocations: 1.887 MB / 1.026 GB, free: 55.83 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.7537, allocations: 14.16 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.7539, allocations: 53.67 kB / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.7543, allocations: 70.22 kB / 1.026 GB, free: 55.74 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008519/0.7551, allocations: 363.6 kB / 1.026 GB, free: 55.54 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007484/0.7559, allocations: 0.7018 MB / 1.027 GB, free: 55.2 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004834/0.7564, allocations: 312 kB / 1.027 GB, free: 55.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.7566, allocations: 205.7 kB / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.7569, allocations: 222.9 kB / 1.028 GB, free: 54.86 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.491e-05/0.757, allocations: 24.44 kB / 1.028 GB, free: 54.86 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.7571, allocations: 36.27 kB / 1.028 GB, free: 54.85 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.7572, allocations: 84.09 kB / 1.028 GB, free: 54.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.7574, allocations: 275.4 kB / 1.028 GB, free: 54.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007366/0.7581, allocations: 0.8072 MB / 1.029 GB, free: 54.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7582, allocations: 0.875 kB / 1.029 GB, free: 54.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7582, allocations: 0 / 1.029 GB, free: 54.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.7582, allocations: 2.438 kB / 1.029 GB, free: 54.38 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.001408/0.7596, allocations: 0.8852 MB / 1.03 GB, free: 53.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.7596, allocations: 7.875 kB / 1.03 GB, free: 53.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.7598, allocations: 80.48 kB / 1.03 GB, free: 53.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005167/0.7603, allocations: 437.6 kB / 1.03 GB, free: 53.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.058e-05/0.7604, allocations: 44.8 kB / 1.03 GB, free: 53.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.616e-05/0.7605, allocations: 62.72 kB / 1.03 GB, free: 53.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008828/0.7614, allocations: 0.4911 MB / 1.031 GB, free: 53.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.7614, allocations: 192 / 1.031 GB, free: 53.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.7614, allocations: 22.81 kB / 1.031 GB, free: 53.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.7615, allocations: 11.78 kB / 1.031 GB, free: 53.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006794/0.7621, allocations: 362.6 kB / 1.031 GB, free: 52.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.7642, allocations: 1.591 MB / 1.033 GB, free: 52.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007899/0.765, allocations: 0.8887 MB / 1.034 GB, free: 51.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.7654, allocations: 230.5 kB / 1.034 GB, free: 51.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.7654, allocations: 7 kB / 1.034 GB, free: 51.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004684/0.7659, allocations: 262.8 kB / 1.034 GB, free: 51.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 1.904e-06/0.7659, allocations: 0 / 1.034 GB, free: 51.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=47): time 0.0009882/0.7669, allocations: 0.5511 MB / 1.035 GB, free: 50.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.767, allocations: 112.1 kB / 1.035 GB, free: 50.74 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.7674, allocations: 405.3 kB / 1.035 GB, free: 50.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/0.7675, allocations: 40.36 kB / 1.035 GB, free: 50.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.7676, allocations: 266.6 kB / 1.035 GB, free: 50.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/0.7677, allocations: 164.3 kB / 1.036 GB, free: 50.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.7678, allocations: 6.906 kB / 1.036 GB, free: 50.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7679, allocations: 362.7 kB / 1.036 GB, free: 49.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.7683, allocations: 189.1 kB / 1.036 GB, free: 49.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.7687, allocations: 294.3 kB / 1.036 GB, free: 49.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/0.7693, allocations: 475.3 kB / 1.037 GB, free: 49.31 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.7693, allocations: 0 / 1.037 GB, free: 49.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009823/0.7703, allocations: 0.6403 MB / 1.037 GB, free: 49 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.622e-05/0.7704, allocations: 196.8 kB / 1.038 GB, free: 48.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.7705, allocations: 3.797 kB / 1.038 GB, free: 48.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.7705, allocations: 7.438 kB / 1.038 GB, free: 48.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.7709, allocations: 85.81 kB / 1.038 GB, free: 48.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.7709, allocations: 7.938 kB / 1.038 GB, free: 48.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.7714, allocations: 131.3 kB / 1.038 GB, free: 48.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.7715, allocations: 25.75 kB / 1.038 GB, free: 48.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.563e-06/0.7715, allocations: 4.594 kB / 1.038 GB, free: 48.74 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008009/0.7723, allocations: 0.5252 MB / 1.038 GB, free: 48.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7723, allocations: 10.56 kB / 1.038 GB, free: 48.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.7723, allocations: 5.375 kB / 1.038 GB, free: 48.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.7726, allocations: 74.23 kB / 1.038 GB, free: 48.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.7727, allocations: 4.625 kB / 1.038 GB, free: 48.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.7732, allocations: 122.5 kB / 1.039 GB, free: 48.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.7732, allocations: 22.25 kB / 1.039 GB, free: 48.43 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.0004156/0.7737, allocations: 263.1 kB / 1.039 GB, free: 48.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.7738, allocations: 54.5 kB / 1.039 GB, free: 48.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.7739, allocations: 54.89 kB / 1.039 GB, free: 48.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.7739, allocations: 4.844 kB / 1.039 GB, free: 48.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.7739, allocations: 0 / 1.039 GB, free: 48.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.7739, allocations: 1.641 kB / 1.039 GB, free: 48.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.7758, allocations: 1.085 MB / 1.04 GB, free: 47.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.7759, allocations: 0 / 1.04 GB, free: 47.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.7762, allocations: 88.06 kB / 1.04 GB, free: 47.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.7763, allocations: 3.938 kB / 1.04 GB, free: 47.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.7763, allocations: 11.12 kB / 1.04 GB, free: 47.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.7763, allocations: 3.406 kB / 1.04 GB, free: 47.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7763, allocations: 0 / 1.04 GB, free: 47.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.7779, allocations: 0.7212 MB / 1.041 GB, free: 47.13 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.7781, allocations: 127 kB / 1.041 GB, free: 47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.409e-05/0.7781, allocations: 15.25 kB / 1.041 GB, free: 47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.7784, allocations: 27.08 kB / 1.041 GB, free: 46.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.7785, allocations: 29.22 kB / 1.041 GB, free: 46.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.7785, allocations: 13.56 kB / 1.041 GB, free: 46.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004369/0.779, allocations: 283.7 kB / 1.041 GB, free: 46.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.779, allocations: 5.25 kB / 1.041 GB, free: 46.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001048/0.78, allocations: 224.6 kB / 1.042 GB, free: 46.77 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.0003388/0.7804, allocations: 138.3 kB / 1.042 GB, free: 46.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001808/0.7822, allocations: 0.948 MB / 1.043 GB, free: 46.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.7822, allocations: 0 / 1.043 GB, free: 46.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.7826, allocations: 194.8 kB / 1.043 GB, free: 46.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007992/0.7834, allocations: 94.48 kB / 1.043 GB, free: 46.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.7854, allocations: 1.168 MB / 1.044 GB, free: 45.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.7858, allocations: 0.8577 MB / 1.045 GB, free: 44.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002428/0.786, allocations: 59.88 kB / 1.045 GB, free: 44.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.7862, allocations: 45.31 kB / 1.045 GB, free: 44.59 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/0.7862, allocations: 0 / 1.045 GB, free: 44.59 MB / 0.698 GB Notification: Performance of Templates: time 0.0133/0.7995, allocations: 6.752 MB / 1.052 GB, free: 44.12 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)