Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009046/0.009046, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.04/3.04, allocations: 473.4 MB / 0.7469 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 12.94 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3702, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002949/0.3732, allocations: 1.79 MB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003071/0.3763, allocations: 1.684 MB / 1.078 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.3766, allocations: 8 kB / 1.078 GB, free: 4 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.3769, allocations: 67.38 kB / 1.078 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.3771, allocations: 55.58 kB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009823/0.3781, allocations: 374.7 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006639/0.3788, allocations: 0.7073 MB / 1.079 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005352/0.3793, allocations: 357.8 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.3796, allocations: 214.9 kB / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.3798, allocations: 226.5 kB / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.3799, allocations: 24 kB / 1.08 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.38, allocations: 43.97 kB / 1.08 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.325e-05/0.3801, allocations: 87.5 kB / 1.08 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.3804, allocations: 276 kB / 1.08 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007689/0.3812, allocations: 0.8098 MB / 1.081 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3812, allocations: 4 kB / 1.081 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.634e-06/0.3812, allocations: 0 / 1.081 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.3812, allocations: 0 / 1.081 GB, free: 0.7656 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001473/0.3827, allocations: 0.8703 MB / 1.082 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3827, allocations: 8.031 kB / 1.082 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.3829, allocations: 76.09 kB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.3834, allocations: 414 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.847e-05/0.3835, allocations: 45.69 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.3836, allocations: 72.22 kB / 1.082 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009067/0.3845, allocations: 0.5353 MB / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3845, allocations: 192 / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.3846, allocations: 27.94 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.3846, allocations: 12 kB / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007336/0.3853, allocations: 385 kB / 1.083 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.3878, allocations: 1.689 MB / 1.085 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.3889, allocations: 0.9206 MB / 1.086 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.3893, allocations: 254.7 kB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.3893, allocations: 8.422 kB / 1.086 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005256/0.3899, allocations: 285.2 kB / 1.086 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=53): time 2.405e-06/0.3899, allocations: 0 / 1.086 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53): time 0.001344/0.3912, allocations: 0.6001 MB / 1.087 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.3913, allocations: 111.2 kB / 1.087 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.3918, allocations: 405.6 kB / 1.087 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.403e-05/0.3919, allocations: 37.7 kB / 1.087 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.3921, allocations: 265 kB / 1.087 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.3922, allocations: 173.5 kB / 1.088 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.652e-05/0.3923, allocations: 53.69 kB / 1.088 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3925, allocations: 362.7 kB / 1.088 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.3929, allocations: 221 kB / 1.088 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.3935, allocations: 315.4 kB / 1.089 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/0.3944, allocations: 0.5034 MB / 1.089 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3944, allocations: 0 / 1.089 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001298/0.3957, allocations: 0.6883 MB / 1.09 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.3959, allocations: 199.7 kB / 1.09 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.3959, allocations: 0 / 1.09 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3959, allocations: 11.94 kB / 1.09 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.3964, allocations: 103.8 kB / 1.09 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3964, allocations: 7.938 kB / 1.09 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006126/0.397, allocations: 135.4 kB / 1.09 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.3971, allocations: 27.98 kB / 1.09 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.3971, allocations: 9.562 kB / 1.09 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/0.3982, allocations: 0.578 MB / 1.091 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.3982, allocations: 0 / 1.091 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.3982, allocations: 4 kB / 1.091 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.3985, allocations: 87.84 kB / 1.091 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3986, allocations: 4 kB / 1.091 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005593/0.3991, allocations: 135.6 kB / 1.091 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.3992, allocations: 27.98 kB / 1.091 GB, free: 5.664 MB / 0.8419 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 (61): * Single equations (assignments): 59 * 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.0003187/0.3995, allocations: 266.2 kB / 1.091 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.3996, allocations: 47.44 kB / 1.091 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009064/0.4005, allocations: 493.5 kB / 1.092 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4005, allocations: 8 kB / 1.092 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4005, allocations: 0 / 1.092 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.4005, allocations: 3.984 kB / 1.092 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.4023, allocations: 1.233 MB / 1.093 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4023, allocations: 0 / 1.093 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.4027, allocations: 99.95 kB / 1.093 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4027, allocations: 4 kB / 1.093 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.4028, allocations: 15.98 kB / 1.093 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.4028, allocations: 4 kB / 1.093 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4028, allocations: 4 kB / 1.093 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.404, allocations: 0.8107 MB / 1.094 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.4042, allocations: 132.5 kB / 1.094 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/0.4042, allocations: 12 kB / 1.094 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.4045, allocations: 31.98 kB / 1.094 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.422e-05/0.4046, allocations: 36.39 kB / 1.094 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.4046, allocations: 23.92 kB / 1.094 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003099/0.4049, allocations: 283.2 kB / 1.094 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4049, allocations: 0 / 1.094 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006836/0.4056, allocations: 223.2 kB / 1.095 GB, free: 1.824 MB / 0.8419 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: 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 (53): * Single equations (assignments): 51 * 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.0002424/0.4059, allocations: 131.1 kB / 1.095 GB, free: 1.688 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.4076, allocations: 1.024 MB / 1.096 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4076, allocations: 0 / 1.096 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.408, allocations: 219.4 kB / 1.096 GB, free: 412 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007642/0.4088, allocations: 102.8 kB / 1.096 GB, free: 312 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.4105, allocations: 1.239 MB / 1.097 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.411, allocations: 0.8596 MB / 1.098 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002314/0.4112, allocations: 64.12 kB / 1.098 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.4114, allocations: 39.44 kB / 1.098 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of SimCode: time 5.71e-07/0.4114, allocations: 0 / 1.098 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of Templates: time 0.01375/0.4251, allocations: 7.042 MB / 1.105 GB, free: 7.062 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1)