Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00245/0.00245, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002819/0.002819, allocations: 219.2 kB / 23.02 MB, free: 2.949 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.729/1.729, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.478/3.478, allocations: 0.5045 GB / 0.8104 GB, free: 2.82 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003911/0.003911, allocations: 67.89 kB / 1.177 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9895/0.9934, allocations: 180 MB / 1.353 GB, free: 1.605 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.004085/0.9975, allocations: 1.901 MB / 1.355 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003228/1.001, allocations: 1.7 MB / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/1.001, allocations: 11.94 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003276/1.001, allocations: 90.98 kB / 1.357 GB, free: 13.89 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003948/1.002, allocations: 112.9 kB / 1.357 GB, free: 13.78 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009537/1.003, allocations: 420.4 kB / 1.357 GB, free: 13.37 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0009917/1.004, allocations: 0.7854 MB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004909/1.004, allocations: 246.2 kB / 1.358 GB, free: 12.33 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/1.005, allocations: 310.9 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003962/1.005, allocations: 286.5 kB / 1.359 GB, free: 11.75 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/1.005, allocations: 88 kB / 1.359 GB, free: 11.66 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/1.005, allocations: 95.98 kB / 1.359 GB, free: 11.57 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/1.005, allocations: 159.5 kB / 1.359 GB, free: 11.41 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003083/1.006, allocations: 274.7 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/1.007, allocations: 0.9249 MB / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.007, allocations: 0 / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.013e-06/1.007, allocations: 0 / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.007, allocations: 0 / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002089/1.009, allocations: 1.119 MB / 1.361 GB, free: 9.035 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.009, allocations: 16.86 kB / 1.361 GB, free: 9.02 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/1.009, allocations: 80.5 kB / 1.361 GB, free: 8.941 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/1.01, allocations: 368.2 kB / 1.362 GB, free: 8.559 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/1.01, allocations: 45.69 kB / 1.362 GB, free: 8.516 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/1.01, allocations: 64.38 kB / 1.362 GB, free: 8.453 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/1.011, allocations: 0.566 MB / 1.362 GB, free: 7.859 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/1.011, allocations: 192 / 1.362 GB, free: 7.859 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.45e-05/1.011, allocations: 31.92 kB / 1.362 GB, free: 7.828 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/1.011, allocations: 12 kB / 1.362 GB, free: 7.816 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007619/1.012, allocations: 373 kB / 1.363 GB, free: 7.453 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/1.015, allocations: 1.355 MB / 1.364 GB, free: 6.059 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008732/1.015, allocations: 430.8 kB / 1.364 GB, free: 5.629 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/1.016, allocations: 225 kB / 1.365 GB, free: 5.406 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/1.016, allocations: 8.438 kB / 1.365 GB, free: 5.395 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005581/1.016, allocations: 277.3 kB / 1.365 GB, free: 5.113 MB / 1.042 GB Notification: Performance of pre-optimization done (n=53): time 2.354e-06/1.016, allocations: 0 / 1.365 GB, free: 5.113 MB / 1.042 GB Notification: Performance of matching and sorting (n=53): time 0.001264/1.018, allocations: 0.5769 MB / 1.366 GB, free: 4.531 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.018, allocations: 115.2 kB / 1.366 GB, free: 4.395 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/1.018, allocations: 341.7 kB / 1.366 GB, free: 4.051 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/1.018, allocations: 41.7 kB / 1.366 GB, free: 4.004 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/1.019, allocations: 273.2 kB / 1.366 GB, free: 3.73 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/1.019, allocations: 174.5 kB / 1.366 GB, free: 3.559 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/1.019, allocations: 118.2 kB / 1.367 GB, free: 3.438 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002312/1.019, allocations: 358.7 kB / 1.367 GB, free: 3.078 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/1.02, allocations: 286.2 kB / 1.367 GB, free: 2.781 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/1.02, allocations: 473.9 kB / 1.368 GB, free: 2.246 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009556/1.021, allocations: 498.6 kB / 1.368 GB, free: 1.727 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.021, allocations: 0 / 1.368 GB, free: 1.727 MB / 1.042 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001519/1.023, allocations: 0.7338 MB / 1.369 GB, free: 0.9609 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 9.282e-05/1.023, allocations: 67.39 kB / 1.369 GB, free: 0.8828 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.023, allocations: 4.156 kB / 1.369 GB, free: 0.8789 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.023, allocations: 4 kB / 1.369 GB, free: 0.875 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/1.024, allocations: 99.81 kB / 1.369 GB, free: 0.7773 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.024, allocations: 4 kB / 1.369 GB, free: 0.7734 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005417/1.024, allocations: 99.69 kB / 1.369 GB, free: 0.6758 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/1.024, allocations: 27.98 kB / 1.369 GB, free: 0.6484 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000639/1.025, allocations: 376.6 kB / 1.369 GB, free: 272 kB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006344/1.025, allocations: 449.9 kB / 1.37 GB, free: 15.76 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007471/1.026, allocations: 454.6 kB / 1.37 GB, free: 15.28 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.464e-06/1.026, allocations: 0 / 1.37 GB, free: 15.28 MB / 1.057 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001236/1.027, allocations: 0.6909 MB / 1.371 GB, free: 14.56 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/1.027, allocations: 67.39 kB / 1.371 GB, free: 14.48 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.027, allocations: 7.938 kB / 1.371 GB, free: 14.48 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/1.027, allocations: 4 kB / 1.371 GB, free: 14.47 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/1.028, allocations: 87.84 kB / 1.371 GB, free: 14.39 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/1.028, allocations: 4 kB / 1.371 GB, free: 14.38 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/1.028, allocations: 95.84 kB / 1.371 GB, free: 14.29 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/1.028, allocations: 24 kB / 1.371 GB, free: 14.27 MB / 1.057 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,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * 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.0002469/1.029, allocations: 224 kB / 1.371 GB, free: 14.04 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/1.029, allocations: 43.72 kB / 1.372 GB, free: 14 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009867/1.03, allocations: 473.2 kB / 1.372 GB, free: 13.53 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/1.03, allocations: 11.94 kB / 1.372 GB, free: 13.52 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/1.03, allocations: 0 / 1.372 GB, free: 13.52 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.03, allocations: 3.984 kB / 1.372 GB, free: 13.51 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/1.032, allocations: 1.049 MB / 1.373 GB, free: 12.41 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.032, allocations: 0 / 1.373 GB, free: 12.41 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/1.032, allocations: 87.83 kB / 1.373 GB, free: 12.32 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/1.032, allocations: 7.938 kB / 1.373 GB, free: 12.31 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/1.032, allocations: 19.98 kB / 1.373 GB, free: 12.29 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.032, allocations: 0 / 1.373 GB, free: 12.29 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.032, allocations: 4 kB / 1.373 GB, free: 12.29 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/1.034, allocations: 0.7848 MB / 1.374 GB, free: 11.46 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/1.034, allocations: 59.58 kB / 1.374 GB, free: 11.41 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/1.034, allocations: 12 kB / 1.374 GB, free: 11.39 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/1.034, allocations: 19.98 kB / 1.374 GB, free: 11.38 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/1.034, allocations: 36.38 kB / 1.374 GB, free: 11.34 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/1.034, allocations: 23.98 kB / 1.374 GB, free: 11.32 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0003192/1.034, allocations: 243.2 kB / 1.374 GB, free: 11.08 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.01e-07/1.034, allocations: 4 kB / 1.374 GB, free: 11.08 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0008426/1.035, allocations: 247.3 kB / 1.374 GB, free: 10.84 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (53): * Single equations (assignments): 51 * 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.0002545/1.035, allocations: 131 kB / 1.375 GB, free: 10.7 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001896/1.037, allocations: 1.043 MB / 1.376 GB, free: 9.582 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.037, allocations: 0 / 1.376 GB, free: 9.582 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.000384/1.038, allocations: 198.4 kB / 1.376 GB, free: 9.391 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/1.038, allocations: 116.8 kB / 1.376 GB, free: 9.281 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/1.04, allocations: 0.9866 MB / 1.377 GB, free: 8.246 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/1.041, allocations: 267.6 kB / 1.377 GB, free: 7.957 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002299/1.041, allocations: 59.22 kB / 1.377 GB, free: 7.898 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/1.041, allocations: 35.44 kB / 1.377 GB, free: 7.863 MB / 1.057 GB Notification: Performance of SimCode: time 7.91e-07/1.041, allocations: 0 / 1.377 GB, free: 7.863 MB / 1.057 GB Notification: Performance of Templates: time 0.01678/1.058, allocations: 8.189 MB / 1.385 GB, free: 15.82 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.845393202267587]