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.0009148/0.0009146, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007238/0.007238, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.713/1.713, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.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.798/1.798, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005359/0.0005361, allocations: 20.22 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.288, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002941/0.291, allocations: 1.783 MB / 0.7896 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003326/0.2943, allocations: 1.67 MB / 0.7913 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004415/0.2948, allocations: 8 kB / 0.7913 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.2951, allocations: 59.38 kB / 0.7913 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000382/0.2955, allocations: 75.48 kB / 0.7914 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.2966, allocations: 366 kB / 0.7918 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008695/0.2975, allocations: 0.6918 MB / 0.7924 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006287/0.2982, allocations: 313.3 kB / 0.7927 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.2985, allocations: 206.9 kB / 0.7929 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/0.299, allocations: 222.6 kB / 0.7931 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.899e-05/0.299, allocations: 24 kB / 0.7932 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.2992, allocations: 39.97 kB / 0.7932 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.2993, allocations: 83.5 kB / 0.7933 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004458/0.2998, allocations: 276 kB / 0.7935 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.3009, allocations: 0.8059 MB / 0.7943 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3009, allocations: 0 / 0.7943 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3009, allocations: 0 / 0.7943 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3009, allocations: 0 / 0.7943 GB, free: 4.941 MB / 0.6075 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.001706/0.3026, allocations: 0.8776 MB / 0.7952 GB, free: 4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.3027, allocations: 8.031 kB / 0.7952 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.3028, allocations: 84.09 kB / 0.7953 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006903/0.3035, allocations: 434.9 kB / 0.7957 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.3036, allocations: 45.31 kB / 0.7957 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.3037, allocations: 60.38 kB / 0.7958 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009887/0.3047, allocations: 0.4917 MB / 0.7963 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.3048, allocations: 4.188 kB / 0.7963 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.3048, allocations: 27.92 kB / 0.7963 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.3049, allocations: 12 kB / 0.7963 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007167/0.3056, allocations: 359.8 kB / 0.7967 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.3083, allocations: 1.585 MB / 0.7982 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.3094, allocations: 0.8989 MB / 0.7991 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/0.3098, allocations: 232.9 kB / 0.7993 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.3098, allocations: 15.81 kB / 0.7993 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004973/0.3103, allocations: 264.8 kB / 0.7996 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.354e-06/0.3104, allocations: 0 / 0.7996 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=47): time 0.001242/0.3116, allocations: 0.5493 MB / 0.8001 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.3117, allocations: 115.2 kB / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006469/0.3124, allocations: 409.9 kB / 0.8006 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/0.3124, allocations: 45.69 kB / 0.8007 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.3127, allocations: 261 kB / 0.8009 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/0.313, allocations: 153.8 kB / 0.8011 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.3131, allocations: 57.69 kB / 0.8011 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002232/0.3133, allocations: 358.8 kB / 0.8014 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.3137, allocations: 197 kB / 0.8016 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.3142, allocations: 287.4 kB / 0.8019 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000782/0.315, allocations: 481.5 kB / 0.8024 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.315, allocations: 0 / 0.8024 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001179/0.3162, allocations: 0.6393 MB / 0.803 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002593/0.3165, allocations: 199.5 kB / 0.8032 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.3165, allocations: 0 / 0.8032 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.3165, allocations: 7.984 kB / 0.8032 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.3169, allocations: 95.77 kB / 0.8033 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.3169, allocations: 4 kB / 0.8033 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/0.3176, allocations: 139.4 kB / 0.8034 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.3177, allocations: 20 kB / 0.8034 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.3177, allocations: 4 kB / 0.8034 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000864/0.3185, allocations: 0.5289 MB / 0.804 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.3186, allocations: 8.094 kB / 0.804 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/0.3186, allocations: 8 kB / 0.804 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.3188, allocations: 71.91 kB / 0.804 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3189, allocations: 4 kB / 0.804 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.3194, allocations: 123.5 kB / 0.8042 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.3194, allocations: 20 kB / 0.8042 GB, free: 10.34 MB / 0.6231 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.000334/0.3198, allocations: 261.6 kB / 0.8044 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.3198, allocations: 51.38 kB / 0.8045 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.32, allocations: 57.19 kB / 0.8045 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.32, allocations: 4 kB / 0.8045 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.32, allocations: 0 / 0.8045 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.32, allocations: 3.984 kB / 0.8045 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.3216, allocations: 1.088 MB / 0.8056 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3216, allocations: 0 / 0.8056 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.322, allocations: 83.89 kB / 0.8057 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.322, allocations: 0 / 0.8057 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.322, allocations: 12.14 kB / 0.8057 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.322, allocations: 11.94 kB / 0.8057 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.322, allocations: 0 / 0.8057 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.3232, allocations: 0.7245 MB / 0.8064 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3234, allocations: 132.5 kB / 0.8065 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.3234, allocations: 12 kB / 0.8066 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.3236, allocations: 27.97 kB / 0.8066 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.3237, allocations: 28.41 kB / 0.8066 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.3237, allocations: 15.98 kB / 0.8066 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000362/0.3241, allocations: 291.2 kB / 0.8069 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3241, allocations: 0 / 0.8069 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006923/0.3248, allocations: 219.2 kB / 0.8071 GB, free: 7.238 MB / 0.6231 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.0002636/0.3251, allocations: 127.1 kB / 0.8072 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.3266, allocations: 0.9539 MB / 0.8082 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3266, allocations: 0 / 0.8082 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.327, allocations: 203 kB / 0.8084 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006289/0.3276, allocations: 85.5 kB / 0.8084 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.3295, allocations: 1.171 MB / 0.8096 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/0.3302, allocations: 0.8515 MB / 0.8104 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002133/0.3304, allocations: 59.42 kB / 0.8105 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.3306, allocations: 39.44 kB / 0.8105 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of SimCode: time 1.192e-06/0.3306, allocations: 0 / 0.8105 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of Templates: time 0.0132/0.3438, allocations: 6.748 MB / 0.8171 GB, free: 12.96 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: