Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.00165, allocations: 111.1 kB / 15.99 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 189.1 kB / 16.91 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.3 MB / 0.5492 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00153/0.001531, allocations: 63.91 kB / 0.6717 GB, free: 6.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2655, allocations: 114.5 MB / 0.7835 GB, free: 4.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.003426/0.2689, allocations: 2.186 MB / 0.7857 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00255/0.2715, allocations: 1.659 MB / 0.7873 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.2718, allocations: 8 kB / 0.7873 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.2721, allocations: 63.38 kB / 0.7873 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.2725, allocations: 67.5 kB / 0.7874 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4335/0.7059, allocations: 366 kB / 0.7878 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.707, allocations: 0.7733 MB / 0.7885 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.7075, allocations: 331 kB / 0.7888 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002831/0.7078, allocations: 297.5 kB / 0.7891 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.7081, allocations: 298.9 kB / 0.7894 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.7082, allocations: 84.88 kB / 0.7895 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.7084, allocations: 100.4 kB / 0.7896 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.957e-05/0.7085, allocations: 152.8 kB / 0.7897 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.7087, allocations: 323.7 kB / 0.79 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006171/0.7093, allocations: 0.6976 MB / 0.7907 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.7094, allocations: 0 / 0.7907 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7094, allocations: 0 / 0.7907 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.7094, allocations: 0 / 0.7907 GB, free: 45.75 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001457/0.7108, allocations: 0.9821 MB / 0.7917 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.7109, allocations: 11.39 kB / 0.7917 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.711, allocations: 78.75 kB / 0.7918 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.7115, allocations: 438 kB / 0.7922 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.7116, allocations: 43.06 kB / 0.7922 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/0.7117, allocations: 57.56 kB / 0.7923 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/0.7124, allocations: 499.6 kB / 0.7927 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.7124, allocations: 1.188 kB / 0.7927 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.7125, allocations: 24.67 kB / 0.7928 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.7125, allocations: 14.12 kB / 0.7928 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.7131, allocations: 345.7 kB / 0.7931 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.715, allocations: 1.566 MB / 0.7946 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007424/0.7157, allocations: 0.8796 MB / 0.7955 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.7161, allocations: 216.8 kB / 0.7957 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.97e-05/0.7161, allocations: 12.59 kB / 0.7957 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005214/0.7166, allocations: 261.1 kB / 0.796 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 3.276e-06/0.7166, allocations: 0 / 0.796 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=47): time 0.0009912/0.7176, allocations: 0.5259 MB / 0.7965 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.7177, allocations: 110.7 kB / 0.7966 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.7181, allocations: 420.1 kB / 0.797 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.7182, allocations: 39.33 kB / 0.797 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.7183, allocations: 261.1 kB / 0.7973 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.7184, allocations: 150.2 kB / 0.7974 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.7186, allocations: 106.4 kB / 0.7975 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/0.7187, allocations: 360.9 kB / 0.7979 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.7191, allocations: 196.8 kB / 0.7981 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.7194, allocations: 286.1 kB / 0.7983 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.72, allocations: 453.9 kB / 0.7988 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.72, allocations: 2.562 kB / 0.7988 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001062/0.7211, allocations: 0.6251 MB / 0.7994 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.7212, allocations: 71.06 kB / 0.7994 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7212, allocations: 5.344 kB / 0.7994 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.7212, allocations: 5.906 kB / 0.7994 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.7216, allocations: 84.88 kB / 0.7995 GB, free: 41.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.7216, allocations: 7.969 kB / 0.7995 GB, free: 41.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.7221, allocations: 101.1 kB / 0.7996 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/0.7222, allocations: 26.55 kB / 0.7997 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004129/0.7226, allocations: 293.6 kB / 0.7999 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003177/0.723, allocations: 265.4 kB / 0.8002 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004679/0.7234, allocations: 411.1 kB / 0.8006 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.7234, allocations: 2.156 kB / 0.8006 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0008564/0.7243, allocations: 0.5741 MB / 0.8011 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.7244, allocations: 70.31 kB / 0.8012 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.7244, allocations: 1.438 kB / 0.8012 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-06/0.7244, allocations: 4.719 kB / 0.8012 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.7247, allocations: 79.38 kB / 0.8013 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.7247, allocations: 7.969 kB / 0.8013 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.7252, allocations: 92.61 kB / 0.8014 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.7253, allocations: 22 kB / 0.8014 GB, free: 40.59 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.0001966/0.7255, allocations: 221.9 kB / 0.8016 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.7256, allocations: 54.78 kB / 0.8017 GB, free: 40.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.7257, allocations: 53.73 kB / 0.8017 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.7257, allocations: 4.844 kB / 0.8017 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.7257, allocations: 1.438 kB / 0.8017 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.7257, allocations: 3.641 kB / 0.8017 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.7273, allocations: 1.073 MB / 0.8028 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.7274, allocations: 0 / 0.8028 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.7277, allocations: 74 kB / 0.8029 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.7277, allocations: 3.391 kB / 0.8029 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.7278, allocations: 8.781 kB / 0.8029 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.7278, allocations: 1.844 kB / 0.8029 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7278, allocations: 0.6562 kB / 0.8029 GB, free: 39.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.7289, allocations: 0.7036 MB / 0.8036 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.485e-05/0.729, allocations: 128.1 kB / 0.8037 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.7291, allocations: 17.83 kB / 0.8037 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.7293, allocations: 23.95 kB / 0.8037 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.989e-05/0.7294, allocations: 30.75 kB / 0.8037 GB, free: 39.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.7294, allocations: 15.97 kB / 0.8038 GB, free: 39.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003719/0.7298, allocations: 291.4 kB / 0.804 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7298, allocations: 0 / 0.804 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008043/0.7306, allocations: 213.1 kB / 0.8042 GB, free: 38.99 MB / 0.6544 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: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,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): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002119/0.7309, allocations: 122.3 kB / 0.8044 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.7326, allocations: 0.9619 MB / 0.8053 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7326, allocations: 0.6562 kB / 0.8053 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.733, allocations: 196.9 kB / 0.8055 GB, free: 38.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.7338, allocations: 101.8 kB / 0.8056 GB, free: 38.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.736, allocations: 1.177 MB / 0.8067 GB, free: 37.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.7365, allocations: 0.8582 MB / 0.8076 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.7367, allocations: 40.84 kB / 0.8076 GB, free: 36.81 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/0.7367, allocations: 0 / 0.8076 GB, free: 36.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.01876/0.7555, allocations: 6.44 MB / 0.8139 GB, free: 36.3 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)