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.001191/0.001191, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009526/0.0009526, allocations: 177.5 kB / 25.18 MB, free: 8.879 MB / 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.9294/0.9294, allocations: 177.1 MB / 205.6 MB, free: 5.062 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.972/1.972, allocations: 389.6 MB / 0.6364 GB, free: 12.24 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.144e-06/2.144e-06, allocations: 0 / 0.7756 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.438e-05/1.652e-05, allocations: 4.281 kB / 0.7756 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002328/0.002345, allocations: 1.908 MB / 0.7775 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.004403, allocations: 1.681 MB / 0.7791 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.004612, allocations: 13.47 kB / 0.7791 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.004832, allocations: 83.06 kB / 0.7792 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.005121, allocations: 101.7 kB / 0.7793 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.005586, allocations: 311.4 kB / 0.7796 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.006083, allocations: 0.6981 MB / 0.7803 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.006347, allocations: 231.8 kB / 0.7805 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.006635, allocations: 403.1 kB / 0.7809 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.006821, allocations: 207.2 kB / 0.7811 GB, free: 376 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.6e-05/0.006887, allocations: 76 kB / 0.7812 GB, free: 300 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.007001, allocations: 89.17 kB / 0.7812 GB, free: 212 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.585e-05/0.007077, allocations: 143.4 kB / 0.7814 GB, free: 68 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.007219, allocations: 200 kB / 0.7816 GB, free: 15.87 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.007614, allocations: 486.9 kB / 0.782 GB, free: 15.39 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.007617, allocations: 4 kB / 0.782 GB, free: 15.39 MB / 0.7449 GB Notification: Performance of FrontEnd: time 6.22e-07/0.007617, allocations: 0.5 kB / 0.782 GB, free: 15.39 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.007623, allocations: 0 / 0.782 GB, free: 15.39 MB / 0.7449 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.0008328/0.008456, allocations: 0.8018 MB / 0.7828 GB, free: 14.55 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.008487, allocations: 12.09 kB / 0.7828 GB, free: 14.55 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.008573, allocations: 88.86 kB / 0.7829 GB, free: 14.46 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.0089, allocations: 274.1 kB / 0.7832 GB, free: 14.16 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.008934, allocations: 41.38 kB / 0.7832 GB, free: 14.12 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/0.008991, allocations: 64.36 kB / 0.7833 GB, free: 14.06 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.00933, allocations: 425.2 kB / 0.7837 GB, free: 13.63 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.00934, allocations: 192 / 0.7837 GB, free: 13.63 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.009363, allocations: 20.38 kB / 0.7837 GB, free: 13.61 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.009372, allocations: 12.38 kB / 0.7837 GB, free: 13.6 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.009514, allocations: 130.8 kB / 0.7838 GB, free: 13.47 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.01056, allocations: 0.9568 MB / 0.7848 GB, free: 12.49 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.01081, allocations: 245.8 kB / 0.785 GB, free: 12.25 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.54e-05/0.01091, allocations: 100.8 kB / 0.7851 GB, free: 12.15 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.01093, allocations: 11.95 kB / 0.7851 GB, free: 12.14 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.01109, allocations: 165.7 kB / 0.7853 GB, free: 11.96 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=47): time 1.694e-06/0.01109, allocations: 0 / 0.7853 GB, free: 11.96 MB / 0.7449 GB Notification: Performance of matching and sorting (n=47): time 0.0002868/0.01137, allocations: 251.5 kB / 0.7855 GB, free: 11.71 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.01142, allocations: 111.3 kB / 0.7856 GB, free: 11.58 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.01161, allocations: 311.3 kB / 0.7859 GB, free: 11.26 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.01163, allocations: 37.7 kB / 0.786 GB, free: 11.22 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01174, allocations: 226.6 kB / 0.7862 GB, free: 11 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/0.01285, allocations: 174.5 kB / 0.7863 GB, free: 10.82 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.01302, allocations: 98.97 kB / 0.7864 GB, free: 10.72 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.01312, allocations: 354.7 kB / 0.7868 GB, free: 10.37 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.01331, allocations: 106.3 kB / 0.7869 GB, free: 10.26 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.01349, allocations: 308.1 kB / 0.7872 GB, free: 9.891 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.01372, allocations: 249.9 kB / 0.7874 GB, free: 9.617 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.01373, allocations: 8.5 kB / 0.7874 GB, free: 9.609 MB / 0.7449 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003577/0.01408, allocations: 339.7 kB / 0.7877 GB, free: 9.262 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.01412, allocations: 37.7 kB / 0.7878 GB, free: 9.219 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.01413, allocations: 4.938 kB / 0.7878 GB, free: 9.215 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.01414, allocations: 4 kB / 0.7878 GB, free: 9.211 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.01438, allocations: 100.3 kB / 0.7879 GB, free: 9.113 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.01439, allocations: 4.625 kB / 0.7879 GB, free: 9.109 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.01456, allocations: 68.95 kB / 0.7879 GB, free: 9.043 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.01459, allocations: 19.98 kB / 0.788 GB, free: 9.023 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001821/0.01477, allocations: 182.8 kB / 0.7881 GB, free: 8.832 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001711/0.01494, allocations: 305.8 kB / 0.7884 GB, free: 8.469 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000192/0.01513, allocations: 249.9 kB / 0.7887 GB, free: 8.195 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.442e-06/0.01514, allocations: 5.031 kB / 0.7887 GB, free: 8.191 MB / 0.7449 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0002853/0.01542, allocations: 335.1 kB / 0.789 GB, free: 7.852 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.01545, allocations: 43.09 kB / 0.789 GB, free: 7.805 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.01545, allocations: 0 / 0.789 GB, free: 7.805 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.01546, allocations: 4 kB / 0.789 GB, free: 7.801 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.01564, allocations: 91.84 kB / 0.7891 GB, free: 7.711 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.01564, allocations: 5.312 kB / 0.7891 GB, free: 7.707 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.0158, allocations: 55.75 kB / 0.7892 GB, free: 7.652 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.01582, allocations: 21.27 kB / 0.7892 GB, free: 7.633 MB / 0.7449 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 0.0001263/0.01594, allocations: 216.1 kB / 0.7894 GB, free: 7.414 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.01598, allocations: 40.83 kB / 0.7895 GB, free: 7.375 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.01625, allocations: 231.7 kB / 0.7897 GB, free: 7.137 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.01626, allocations: 4.781 kB / 0.7897 GB, free: 7.133 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01626, allocations: 4 kB / 0.7897 GB, free: 7.129 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01627, allocations: 1.031 kB / 0.7897 GB, free: 7.129 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007151/0.01698, allocations: 0.6148 MB / 0.7903 GB, free: 6.473 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.01699, allocations: 4 kB / 0.7903 GB, free: 6.469 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.01717, allocations: 90.58 kB / 0.7904 GB, free: 6.383 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.01717, allocations: 4 kB / 0.7904 GB, free: 6.379 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.01719, allocations: 8 kB / 0.7904 GB, free: 6.371 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.0172, allocations: 7.984 kB / 0.7904 GB, free: 6.363 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.0172, allocations: 7.938 kB / 0.7904 GB, free: 6.355 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.01756, allocations: 425.4 kB / 0.7908 GB, free: 5.91 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.01761, allocations: 43.59 kB / 0.7908 GB, free: 5.867 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.01764, allocations: 11.94 kB / 0.7909 GB, free: 5.855 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.01774, allocations: 23.98 kB / 0.7909 GB, free: 5.832 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.01778, allocations: 27.95 kB / 0.7909 GB, free: 5.805 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.01779, allocations: 16.08 kB / 0.7909 GB, free: 5.789 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 9.756e-05/0.01789, allocations: 120.7 kB / 0.791 GB, free: 5.672 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.01789, allocations: 1.219 kB / 0.791 GB, free: 5.672 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0003723/0.01826, allocations: 215.3 kB / 0.7912 GB, free: 5.461 MB / 0.7449 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.0001554/0.01842, allocations: 102.5 kB / 0.7913 GB, free: 5.355 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0005462/0.01897, allocations: 0.5511 MB / 0.7919 GB, free: 4.762 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/0.01898, allocations: 6.281 kB / 0.7919 GB, free: 4.758 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.01909, allocations: 121.4 kB / 0.792 GB, free: 4.637 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.01942, allocations: 104.2 kB / 0.7921 GB, free: 4.543 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.0207, allocations: 0.8687 MB / 0.793 GB, free: 3.617 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.02089, allocations: 245.8 kB / 0.7932 GB, free: 3.348 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.02113, allocations: 156.3 kB / 0.7933 GB, free: 3.195 MB / 0.7449 GB Notification: Performance of SimCode: time 1.082e-06/0.02113, allocations: 0 / 0.7933 GB, free: 3.195 MB / 0.7449 GB Notification: Performance of Templates: time 0.00813/0.02926, allocations: 5.89 MB / 0.7991 GB, free: 13.41 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 > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.720056826248765]