Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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.000883/0.000883, allocations: 80.88 kB / 20.82 MB, free: 3.629 MB / 18.57 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.000967/0.000967, allocations: 165 kB / 24.25 MB, free: 204 kB / 18.57 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 0.9588/0.9588, allocations: 177.1 MB / 204.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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 1.964/1.964, allocations: 389.6 MB / 0.6355 GB, free: 12.25 MB / 0.6042 GB " [Timeout remaining time 177] 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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0.6562 kB / 0.7754 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073e-05/1.221e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002163/0.002175, allocations: 1.917 MB / 0.7773 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.003859, allocations: 1.678 MB / 0.779 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.004004, allocations: 8 kB / 0.779 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.004196, allocations: 87.81 kB / 0.779 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.004423, allocations: 101 kB / 0.7791 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.004916, allocations: 316.1 kB / 0.7794 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004537/0.00537, allocations: 0.6936 MB / 0.7801 GB, free: 420 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.005627, allocations: 235.8 kB / 0.7803 GB, free: 180 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.005911, allocations: 399.1 kB / 0.7807 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.00609, allocations: 207.8 kB / 0.7809 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.463e-05/0.006155, allocations: 76.59 kB / 0.781 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.006262, allocations: 87.98 kB / 0.7811 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.168e-05/0.006333, allocations: 144.8 kB / 0.7812 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.006444, allocations: 203.4 kB / 0.7814 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.006786, allocations: 482.1 kB / 0.7819 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.006789, allocations: 2.75 kB / 0.7819 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.006789, allocations: 0 / 0.7819 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.006794, allocations: 0 / 0.7819 GB, free: 14.61 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.000841/0.007635, allocations: 0.8061 MB / 0.7827 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.007672, allocations: 13.34 kB / 0.7827 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.248e-05/0.007764, allocations: 88.86 kB / 0.7828 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.008053, allocations: 278 kB / 0.783 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.008088, allocations: 45.38 kB / 0.7831 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.008141, allocations: 65.89 kB / 0.7831 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.008498, allocations: 410.8 kB / 0.7835 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.00851, allocations: 192 / 0.7835 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.008533, allocations: 20.38 kB / 0.7835 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.008547, allocations: 12.94 kB / 0.7836 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.00868, allocations: 128 kB / 0.7837 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.00971, allocations: 0.9604 MB / 0.7846 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.009964, allocations: 239.7 kB / 0.7848 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.764e-05/0.01005, allocations: 100.2 kB / 0.7849 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.01007, allocations: 11.95 kB / 0.785 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.01023, allocations: 165.7 kB / 0.7851 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 1.954e-06/0.01023, allocations: 1.062 kB / 0.7851 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47): time 0.0002743/0.01051, allocations: 250 kB / 0.7853 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.01055, allocations: 107.8 kB / 0.7855 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.01073, allocations: 319.3 kB / 0.7858 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.01075, allocations: 38.61 kB / 0.7858 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.01085, allocations: 225.8 kB / 0.786 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/0.01092, allocations: 171.8 kB / 0.7862 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.01111, allocations: 98.12 kB / 0.7863 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.0112, allocations: 358.7 kB / 0.7866 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.01132, allocations: 101.1 kB / 0.7867 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.01148, allocations: 300.2 kB / 0.787 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.0117, allocations: 259 kB / 0.7872 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.0117, allocations: 3.25 kB / 0.7872 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002856/0.01199, allocations: 341.7 kB / 0.7876 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.01201, allocations: 40.2 kB / 0.7876 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01202, allocations: 48 / 0.7876 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.01203, allocations: 7.984 kB / 0.7876 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.01223, allocations: 106.8 kB / 0.7877 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.01224, allocations: 4 kB / 0.7877 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.01238, allocations: 67.64 kB / 0.7878 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.0124, allocations: 15.94 kB / 0.7878 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001336/0.01254, allocations: 186.8 kB / 0.788 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001409/0.01268, allocations: 297.7 kB / 0.7883 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000176/0.01285, allocations: 254.2 kB / 0.7885 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.01285, allocations: 0 / 0.7885 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0002581/0.01311, allocations: 343.9 kB / 0.7888 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.01313, allocations: 41.69 kB / 0.7889 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.01314, allocations: 4 kB / 0.7889 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-06/0.01314, allocations: 5.156 kB / 0.7889 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.0133, allocations: 83.84 kB / 0.789 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.0133, allocations: 4 kB / 0.789 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.01343, allocations: 60.97 kB / 0.789 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.01345, allocations: 19.98 kB / 0.789 GB, free: 6.852 MB / 0.7448 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,pulse.booPul.y,$PRE.pulse.booPul.y,pidSca.con1.y,pidNoSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 9.89e-05/0.01354, allocations: 209.5 kB / 0.7892 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.01358, allocations: 43.95 kB / 0.7893 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.01381, allocations: 233.2 kB / 0.7895 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01381, allocations: 4 kB / 0.7895 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01381, allocations: 0 / 0.7895 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01382, allocations: 0.5625 kB / 0.7895 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.0144, allocations: 0.6188 MB / 0.7901 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.0144, allocations: 4.875 kB / 0.7901 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.01457, allocations: 87.83 kB / 0.7902 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01457, allocations: 6.625 kB / 0.7902 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.01459, allocations: 12 kB / 0.7902 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.0146, allocations: 7.984 kB / 0.7902 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.0146, allocations: 0 / 0.7902 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.01491, allocations: 422.7 kB / 0.7906 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.01494, allocations: 51.53 kB / 0.7907 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.01497, allocations: 15.12 kB / 0.7907 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.01506, allocations: 15.98 kB / 0.7907 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.01509, allocations: 27.95 kB / 0.7907 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.01511, allocations: 15.98 kB / 0.7907 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.349e-05/0.0152, allocations: 128.7 kB / 0.7909 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.0152, allocations: 3.938 kB / 0.7909 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003052/0.0155, allocations: 215.4 kB / 0.7911 GB, free: 4.676 MB / 0.7448 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: 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 (47): * Single equations (assignments): 46 * 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.0001083/0.01561, allocations: 102 kB / 0.7912 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004385/0.01605, allocations: 0.5445 MB / 0.7917 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.01605, allocations: 4 kB / 0.7917 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-05/0.01615, allocations: 118 kB / 0.7918 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.01644, allocations: 101.9 kB / 0.7919 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007801/0.01722, allocations: 0.8392 MB / 0.7927 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.171e-05/0.01729, allocations: 118.3 kB / 0.7929 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.01741, allocations: 54.38 kB / 0.7929 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.01769, allocations: 155.2 kB / 0.7931 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01769, allocations: 0 / 0.7931 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of Templates: time 0.008125/0.02581, allocations: 6.752 MB / 0.7996 GB, free: 12.03 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.184890167787671]