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.001094/0.001094, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001098/0.001098, allocations: 163.2 kB / 25.05 MB, free: 9.148 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.9719/0.9719, allocations: 177.1 MB / 205.5 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.958/1.958, allocations: 389.6 MB / 0.6363 GB, free: 12.26 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.054e-06/2.054e-06, allocations: 0.875 kB / 0.7762 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.623e-05, allocations: 2.312 kB / 0.7762 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003277/0.003293, allocations: 1.917 MB / 0.7781 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002464/0.005757, allocations: 1.677 MB / 0.7797 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.005969, allocations: 8.656 kB / 0.7797 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.006223, allocations: 87 kB / 0.7798 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.006543, allocations: 106.5 kB / 0.7799 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.006972, allocations: 311.3 kB / 0.7802 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007082/0.00768, allocations: 0.7004 MB / 0.7809 GB, free: 444 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.007954, allocations: 223.8 kB / 0.7811 GB, free: 216 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.008233, allocations: 399.7 kB / 0.7815 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.008413, allocations: 208.8 kB / 0.7817 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.178e-05/0.008475, allocations: 76 kB / 0.7818 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.008577, allocations: 91.98 kB / 0.7818 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.542e-05/0.008653, allocations: 148.4 kB / 0.782 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.008766, allocations: 199.4 kB / 0.7822 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.00911, allocations: 486.1 kB / 0.7826 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.009113, allocations: 0.5 kB / 0.7826 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.009113, allocations: 0.75 kB / 0.7826 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.009118, allocations: 0 / 0.7826 GB, free: 14.64 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.0008004/0.009918, allocations: 0.8072 MB / 0.7834 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.009951, allocations: 9.344 kB / 0.7834 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.01003, allocations: 88.86 kB / 0.7835 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.0103, allocations: 278 kB / 0.7838 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.01033, allocations: 44.28 kB / 0.7838 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.01038, allocations: 64.36 kB / 0.7839 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.01072, allocations: 414.8 kB / 0.7843 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.01073, allocations: 192 / 0.7843 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.01075, allocations: 24.36 kB / 0.7843 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.01076, allocations: 12.38 kB / 0.7843 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.01089, allocations: 124.5 kB / 0.7844 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009926/0.01188, allocations: 0.9553 MB / 0.7854 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.01212, allocations: 238.8 kB / 0.7856 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/0.0122, allocations: 107 kB / 0.7857 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.01223, allocations: 15.94 kB / 0.7857 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.01237, allocations: 162.9 kB / 0.7859 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 1.573e-06/0.01237, allocations: 0 / 0.7859 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47): time 0.0002754/0.01265, allocations: 250 kB / 0.7861 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.01269, allocations: 119.9 kB / 0.7862 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.01285, allocations: 308.4 kB / 0.7865 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.01288, allocations: 37.7 kB / 0.7866 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.01297, allocations: 229.8 kB / 0.7868 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/0.01305, allocations: 167.2 kB / 0.7869 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.724e-05/0.01313, allocations: 98.12 kB / 0.787 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.01322, allocations: 359.1 kB / 0.7874 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.01333, allocations: 105.3 kB / 0.7875 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.0138, allocations: 296.2 kB / 0.7878 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.014, allocations: 254.7 kB / 0.788 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.014, allocations: 0.5312 kB / 0.788 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0002784/0.01428, allocations: 347.5 kB / 0.7883 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.01431, allocations: 38.23 kB / 0.7884 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.01431, allocations: 7.984 kB / 0.7884 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.01432, allocations: 6.844 kB / 0.7884 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.01452, allocations: 95.83 kB / 0.7885 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01453, allocations: 8 kB / 0.7885 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.01467, allocations: 67.64 kB / 0.7885 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.0147, allocations: 19.98 kB / 0.7886 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000129/0.01482, allocations: 181.8 kB / 0.7887 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001414/0.01497, allocations: 300.3 kB / 0.789 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001701/0.01514, allocations: 249.7 kB / 0.7893 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.01514, allocations: 4 kB / 0.7893 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0002564/0.01539, allocations: 342.9 kB / 0.7896 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.01541, allocations: 38.67 kB / 0.7896 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-06/0.01541, allocations: 0 / 0.7896 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.407e-06/0.01541, allocations: 5.219 kB / 0.7896 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.01558, allocations: 95.83 kB / 0.7897 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.01558, allocations: 4 kB / 0.7897 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.01571, allocations: 60.72 kB / 0.7898 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.01572, allocations: 16 kB / 0.7898 GB, free: 6.883 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 8.622e-05/0.01581, allocations: 213.5 kB / 0.79 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.01585, allocations: 39.95 kB / 0.79 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.01606, allocations: 228.8 kB / 0.7903 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01607, allocations: 4 kB / 0.7903 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01607, allocations: 5.562 kB / 0.7903 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.01607, allocations: 3.984 kB / 0.7903 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.01665, allocations: 0.6144 MB / 0.7909 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01665, allocations: 0.875 kB / 0.7909 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.01682, allocations: 87.78 kB / 0.791 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01682, allocations: 4.781 kB / 0.791 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.01684, allocations: 11.98 kB / 0.791 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01684, allocations: 4.656 kB / 0.791 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.01684, allocations: 4 kB / 0.791 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.01715, allocations: 428.5 kB / 0.7914 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.01719, allocations: 51.52 kB / 0.7914 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.01721, allocations: 8 kB / 0.7915 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.0173, allocations: 26.42 kB / 0.7915 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.01734, allocations: 31.94 kB / 0.7915 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.01735, allocations: 8 kB / 0.7915 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.479e-05/0.01743, allocations: 120.7 kB / 0.7916 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01743, allocations: 0 / 0.7916 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003044/0.01774, allocations: 223.3 kB / 0.7918 GB, free: 4.711 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 9.994e-05/0.01784, allocations: 102.7 kB / 0.7919 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004263/0.01826, allocations: 0.5477 MB / 0.7925 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.01827, allocations: 4 kB / 0.7925 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.01836, allocations: 123 kB / 0.7926 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.01866, allocations: 109.4 kB / 0.7927 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.01943, allocations: 0.8358 MB / 0.7935 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.027e-05/0.01951, allocations: 122.3 kB / 0.7936 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.01963, allocations: 58.2 kB / 0.7937 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.01981, allocations: 147.3 kB / 0.7938 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of SimCode: time 1.042e-06/0.01981, allocations: 0.625 kB / 0.7938 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of Templates: time 0.008141/0.02796, allocations: 6.739 MB / 0.8004 GB, free: 12.06 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.185037090443075]