Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.734/1.734, allocations: 288.3 MB / 303.2 MB, free: 8.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009917/0.0009914, allocations: 195.1 kB / 371.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008704/0.0008704, allocations: 90.92 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004472, allocations: 13.59 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.304, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.002103/0.3061, allocations: 1.592 MB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003573/0.3097, allocations: 1.519 MB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009303/0.3107, allocations: 12 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.311, allocations: 39.52 kB / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006374/0.3116, allocations: 83.67 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008284/0.3124, allocations: 228.7 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005239/0.313, allocations: 381.2 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.3134, allocations: 225.9 kB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.3136, allocations: 171.1 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.3138, allocations: 182.9 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.3139, allocations: 20 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.182e-05/0.314, allocations: 35.97 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.3141, allocations: 75.61 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.3142, allocations: 121.3 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.3146, allocations: 0.5924 MB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3147, allocations: 0 / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3147, allocations: 0 / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.3147, allocations: 0 / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001472/0.3162, allocations: 0.833 MB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3162, allocations: 12.03 kB / 0.9854 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.3163, allocations: 63.25 kB / 0.9854 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.3168, allocations: 417.8 kB / 0.9858 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.3169, allocations: 37 kB / 0.9859 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-05/0.317, allocations: 51.98 kB / 0.9859 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/0.3177, allocations: 474.9 kB / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3177, allocations: 0 / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.3178, allocations: 19.98 kB / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3178, allocations: 12 kB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.3184, allocations: 339.8 kB / 0.9867 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.3201, allocations: 1.48 MB / 0.9882 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008598/0.321, allocations: 0.8671 MB / 0.989 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.3211, allocations: 8 kB / 0.989 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005249/0.3216, allocations: 227.2 kB / 0.9893 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.605e-06/0.3216, allocations: 0 / 0.9893 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.001011/0.3226, allocations: 0.4971 MB / 0.9897 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.3227, allocations: 118.8 kB / 0.9899 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.3231, allocations: 389.6 kB / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.3232, allocations: 37.7 kB / 0.9903 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.3234, allocations: 260.2 kB / 0.9905 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.337e-05/0.3235, allocations: 138 kB / 0.9906 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.3235, allocations: 8 kB / 0.9906 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3236, allocations: 358.8 kB / 0.991 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/0.3239, allocations: 168.7 kB / 0.9912 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.3243, allocations: 263 kB / 0.9914 GB, free: 15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.3247, allocations: 210.4 kB / 0.9916 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3247, allocations: 4 kB / 0.9916 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008706/0.3256, allocations: 0.5351 MB / 0.9921 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002954/0.3259, allocations: 0.7446 MB / 0.9929 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3259, allocations: 0 / 0.9929 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.3259, allocations: 4 kB / 0.9929 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.3263, allocations: 87.89 kB / 0.9929 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.3263, allocations: 15.88 kB / 0.993 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.3267, allocations: 91.53 kB / 0.993 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.3268, allocations: 23.98 kB / 0.9931 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.3268, allocations: 4 kB / 0.9931 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005745/0.3274, allocations: 425.3 kB / 0.9935 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.3274, allocations: 4 kB / 0.9935 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.3274, allocations: 4 kB / 0.9935 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.3276, allocations: 71.91 kB / 0.9936 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.3276, allocations: 7.953 kB / 0.9936 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.328, allocations: 83.8 kB / 0.9936 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.328, allocations: 19.98 kB / 0.9937 GB, free: 12.6 MB / 0.6198 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,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.3282, allocations: 259.5 kB / 0.9939 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.3283, allocations: 43.44 kB / 0.994 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.3284, allocations: 56.75 kB / 0.994 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3284, allocations: 4 kB / 0.994 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.3284, allocations: 7.953 kB / 0.994 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3284, allocations: 0 / 0.994 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.3296, allocations: 0.9993 MB / 0.995 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3297, allocations: 0 / 0.995 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.33, allocations: 83.84 kB / 0.9951 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.33, allocations: 0 / 0.9951 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.33, allocations: 12 kB / 0.9951 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.33, allocations: 4 kB / 0.9951 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.33, allocations: 0 / 0.9951 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008474/0.3309, allocations: 0.6602 MB / 0.9957 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.331, allocations: 128.5 kB / 0.9959 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.331, allocations: 11.95 kB / 0.9959 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.3312, allocations: 28.03 kB / 0.9959 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.3313, allocations: 23.95 kB / 0.9959 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3313, allocations: 15.98 kB / 0.9959 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002514/0.3316, allocations: 275.2 kB / 0.9962 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3316, allocations: 4 kB / 0.9962 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005161/0.3321, allocations: 187.3 kB / 0.9964 GB, free: 9.719 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001869/0.3323, allocations: 115.2 kB / 0.9965 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009466/0.3333, allocations: 0.7176 MB / 0.9972 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3333, allocations: 0 / 0.9972 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.3335, allocations: 188.7 kB / 0.9974 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.334, allocations: 82.3 kB / 0.9974 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.3353, allocations: 1.047 MB / 0.9985 GB, free: 7.508 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.3356, allocations: 0.8553 MB / 0.9993 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.3358, allocations: 55.33 kB / 0.9994 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.3359, allocations: 31.44 kB / 0.9994 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of SimCode: time 5.92e-07/0.3359, allocations: 0 / 0.9994 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of Templates: time 0.009023/0.3449, allocations: 5.18 MB / 1.004 GB, free: 1.414 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)