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.001313/0.001313, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.004605/0.004605, allocations: 161 kB / 24.16 MB, free: 336 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 1.004/1.004, allocations: 177.2 MB / 204.6 MB, free: 5.488 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 2.08/2.08, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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 2.815e-06/2.815e-06, allocations: 0 / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.729e-05, allocations: 3.062 kB / 0.7753 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.002811/0.002838, allocations: 1.924 MB / 0.7772 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002408/0.005247, allocations: 1.683 MB / 0.7788 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.005488, allocations: 8 kB / 0.7788 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.00571, allocations: 87 kB / 0.7789 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003106/0.00602, allocations: 102.2 kB / 0.779 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005139/0.006534, allocations: 311.3 kB / 0.7793 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005434/0.007078, allocations: 0.6996 MB / 0.78 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003042/0.007382, allocations: 227.8 kB / 0.7802 GB, free: 300 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003488/0.007731, allocations: 395.2 kB / 0.7806 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.007943, allocations: 211.8 kB / 0.7808 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.897e-05/0.008012, allocations: 79.47 kB / 0.7808 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.00813, allocations: 88 kB / 0.7809 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.008222, allocations: 147.4 kB / 0.7811 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.008358, allocations: 199.4 kB / 0.7813 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.008777, allocations: 486.1 kB / 0.7817 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.008781, allocations: 0 / 0.7817 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.002e-06/0.008782, allocations: 0 / 0.7817 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.008788, allocations: 0 / 0.7817 GB, free: 14.72 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.0009378/0.009726, allocations: 0.8095 MB / 0.7825 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.009764, allocations: 9.344 kB / 0.7825 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.295e-05/0.009857, allocations: 88.86 kB / 0.7826 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.01019, allocations: 283.8 kB / 0.7829 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.01023, allocations: 41.38 kB / 0.7829 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.01028, allocations: 60.36 kB / 0.783 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.01066, allocations: 415.7 kB / 0.7834 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.01067, allocations: 192 / 0.7834 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.0107, allocations: 24.95 kB / 0.7834 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.01071, allocations: 16.84 kB / 0.7834 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.01085, allocations: 123.5 kB / 0.7835 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.01199, allocations: 0.9562 MB / 0.7845 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.01227, allocations: 241 kB / 0.7847 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.73e-05/0.01236, allocations: 107 kB / 0.7848 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.01239, allocations: 13.7 kB / 0.7848 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.01257, allocations: 165.7 kB / 0.785 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/0.01257, allocations: 0 / 0.785 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47): time 0.0003062/0.01288, allocations: 253.9 kB / 0.7852 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.01292, allocations: 115.9 kB / 0.7853 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.01312, allocations: 299.4 kB / 0.7856 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.01315, allocations: 43.28 kB / 0.7856 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.01325, allocations: 225.8 kB / 0.7859 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.851e-05/0.01333, allocations: 166.5 kB / 0.786 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.91e-05/0.01343, allocations: 102.1 kB / 0.7861 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.01352, allocations: 363.4 kB / 0.7865 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.01366, allocations: 100.5 kB / 0.7866 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.01382, allocations: 297.1 kB / 0.7868 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.01405, allocations: 254.7 kB / 0.7871 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.01405, allocations: 0 / 0.7871 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0003139/0.01437, allocations: 340.2 kB / 0.7874 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.0144, allocations: 37.69 kB / 0.7874 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01441, allocations: 5.062 kB / 0.7875 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.01442, allocations: 4 kB / 0.7875 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.01464, allocations: 99.83 kB / 0.7876 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01464, allocations: 4.5 kB / 0.7876 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.0148, allocations: 64.58 kB / 0.7876 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.01482, allocations: 21.05 kB / 0.7876 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001486/0.01497, allocations: 182.8 kB / 0.7878 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001556/0.01513, allocations: 289 kB / 0.7881 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001925/0.01532, allocations: 258.6 kB / 0.7883 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.01532, allocations: 1.438 kB / 0.7883 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0002802/0.0156, allocations: 339.3 kB / 0.7887 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.01562, allocations: 41.69 kB / 0.7887 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-06/0.01562, allocations: 0 / 0.7887 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.01563, allocations: 5.5 kB / 0.7887 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.0158, allocations: 91.84 kB / 0.7888 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01581, allocations: 7.984 kB / 0.7888 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.01594, allocations: 64.23 kB / 0.7889 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.01596, allocations: 17.64 kB / 0.7889 GB, free: 6.977 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 0.0001106/0.01607, allocations: 211.2 kB / 0.7891 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.01611, allocations: 47.89 kB / 0.7891 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.01636, allocations: 228.5 kB / 0.7893 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01636, allocations: 4 kB / 0.7893 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01636, allocations: 0.9375 kB / 0.7893 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.01637, allocations: 0 / 0.7893 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006407/0.01701, allocations: 0.6158 MB / 0.7899 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.01701, allocations: 4 kB / 0.79 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.01719, allocations: 87.83 kB / 0.79 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.0172, allocations: 2.75 kB / 0.79 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.01722, allocations: 16 kB / 0.7901 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.01723, allocations: 3.984 kB / 0.7901 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.01723, allocations: 4 kB / 0.7901 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.01771, allocations: 426.7 kB / 0.7905 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.01777, allocations: 52.33 kB / 0.7905 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.01781, allocations: 12 kB / 0.7905 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.018, allocations: 17.08 kB / 0.7905 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.01805, allocations: 27.95 kB / 0.7906 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.01807, allocations: 19.92 kB / 0.7906 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.644e-05/0.01817, allocations: 121.5 kB / 0.7907 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.11e-07/0.01817, allocations: 0 / 0.7907 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003523/0.01852, allocations: 216.4 kB / 0.7909 GB, free: 4.809 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.0001608/0.01868, allocations: 101.2 kB / 0.791 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004864/0.01917, allocations: 0.5457 MB / 0.7915 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.01917, allocations: 4 kB / 0.7915 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.01928, allocations: 117.4 kB / 0.7917 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.0196, allocations: 102.2 kB / 0.7918 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.02046, allocations: 0.8418 MB / 0.7926 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.478e-05/0.02053, allocations: 119.8 kB / 0.7927 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.02065, allocations: 57.06 kB / 0.7927 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.02085, allocations: 147.3 kB / 0.7929 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.02085, allocations: 0.8438 kB / 0.7929 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of Templates: time 0.009063/0.02991, allocations: 6.751 MB / 0.7995 GB, free: 12.16 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.392550587654114]