Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.867/1.867, allocations: 292.3 MB / 308.1 MB, free: 4.316 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.001694/0.001694, allocations: 182.4 kB / 376.9 MB, free: 1.824 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.773/1.773, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 100.3 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3596, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.005114/0.3647, allocations: 3.295 MB / 0.9855 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003094/0.3679, allocations: 1.657 MB / 0.9871 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005188/0.3684, allocations: 15.94 kB / 0.9871 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.3688, allocations: 110.9 kB / 0.9872 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004409/0.3693, allocations: 99.23 kB / 0.9873 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005663/0.3699, allocations: 295.7 kB / 0.9876 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0009213/0.3708, allocations: 0.9945 MB / 0.9885 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009181/0.3718, allocations: 0.588 MB / 0.9891 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004602/0.3722, allocations: 338.2 kB / 0.9894 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.3727, allocations: 413.5 kB / 0.9898 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.3728, allocations: 60 kB / 0.9899 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.373, allocations: 56 kB / 0.99 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.3731, allocations: 199.1 kB / 0.9901 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000365/0.3735, allocations: 437.1 kB / 0.9906 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.3746, allocations: 1.215 MB / 0.9917 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3746, allocations: 0 / 0.9917 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3746, allocations: 0 / 0.9917 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.3746, allocations: 0 / 0.9917 GB, free: 0.582 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002375/0.377, allocations: 1.325 MB / 0.993 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.377, allocations: 8.031 kB / 0.993 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.3772, allocations: 115.5 kB / 0.9932 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008059/0.378, allocations: 0.5908 MB / 0.9937 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.783e-05/0.3781, allocations: 66.38 kB / 0.9938 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.3782, allocations: 96.28 kB / 0.9939 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.3796, allocations: 0.8399 MB / 0.9947 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.3796, allocations: 8.125 kB / 0.9947 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/0.3797, allocations: 43.92 kB / 0.9948 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.3797, allocations: 20 kB / 0.9948 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.3809, allocations: 0.5973 MB / 0.9954 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003905/0.3848, allocations: 2.693 MB / 0.998 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.3863, allocations: 1.295 MB / 0.9993 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/0.387, allocations: 378.5 kB / 0.9996 GB, free: 8.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.161e-05/0.387, allocations: 12.55 kB / 0.9996 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000695/0.3877, allocations: 335.1 kB / 0.9999 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=68): time 3.727e-06/0.3877, allocations: 0 / 0.9999 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of matching and sorting (n=68): time 0.001543/0.3893, allocations: 0.7674 MB / 1.001 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/0.3895, allocations: 162.8 kB / 1.001 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008375/0.3903, allocations: 0.594 MB / 1.001 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.3904, allocations: 37.7 kB / 1.001 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.3908, allocations: 424 kB / 1.002 GB, free: 5.777 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.391, allocations: 232.6 kB / 1.002 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.3912, allocations: 114.3 kB / 1.002 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002368/0.3914, allocations: 390.7 kB / 1.003 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.3919, allocations: 223.4 kB / 1.003 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.3925, allocations: 341.4 kB / 1.003 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009572/0.3935, allocations: 0.5039 MB / 1.004 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3935, allocations: 3.938 kB / 1.004 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001197/0.3947, allocations: 0.6526 MB / 1.004 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3947, allocations: 4 kB / 1.004 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.3947, allocations: 4 kB / 1.004 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.3948, allocations: 0 / 1.004 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.3953, allocations: 143.8 kB / 1.004 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3953, allocations: 7.984 kB / 1.004 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.3957, allocations: 87.48 kB / 1.004 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.3957, allocations: 20 kB / 1.005 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004655/0.3962, allocations: 333.3 kB / 1.005 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003511/0.3966, allocations: 293.4 kB / 1.005 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000557/0.3971, allocations: 420.1 kB / 1.006 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.3971, allocations: 3.938 kB / 1.006 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.0007671/0.3979, allocations: 0.5551 MB / 1.006 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.3979, allocations: 8.094 kB / 1.006 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.3979, allocations: 0 / 1.006 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.749e-06/0.3979, allocations: 4 kB / 1.006 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.3984, allocations: 127.8 kB / 1.006 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3984, allocations: 3.984 kB / 1.006 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.3987, allocations: 71.55 kB / 1.006 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.3987, allocations: 20 kB / 1.006 GB, free: 1.137 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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.0001838/0.3989, allocations: 228 kB / 1.006 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.399, allocations: 71.14 kB / 1.007 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.3992, allocations: 82.95 kB / 1.007 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3992, allocations: 4 kB / 1.007 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.3992, allocations: 4 kB / 1.007 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3992, allocations: 3.984 kB / 1.007 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002213/0.4014, allocations: 1.551 MB / 1.008 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4015, allocations: 0 / 1.008 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005195/0.402, allocations: 131.8 kB / 1.008 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.402, allocations: 0 / 1.008 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.402, allocations: 19.92 kB / 1.008 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4021, allocations: 4 kB / 1.008 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4021, allocations: 3.938 kB / 1.008 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008567/0.4106, allocations: 5.245 MB / 1.013 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.4109, allocations: 156 kB / 1.014 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.4109, allocations: 15.98 kB / 1.014 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.4113, allocations: 43.91 kB / 1.014 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.4114, allocations: 44.5 kB / 1.014 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.4114, allocations: 19.98 kB / 1.014 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005008/0.4119, allocations: 423.3 kB / 1.014 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4119, allocations: 0 / 1.014 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001057/0.413, allocations: 398.3 kB / 1.014 GB, free: 8.484 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002279/0.4132, allocations: 133.4 kB / 1.015 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.4148, allocations: 0.7966 MB / 1.015 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.4148, allocations: 4.375 kB / 1.015 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004999/0.4153, allocations: 291.1 kB / 1.016 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007855/0.4161, allocations: 130.9 kB / 1.016 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.4194, allocations: 2.264 MB / 1.018 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/0.4201, allocations: 0.994 MB / 1.019 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004851/0.4206, allocations: 99.95 kB / 1.019 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.4208, allocations: 59.42 kB / 1.019 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of SimCode: time 1.402e-06/0.4208, allocations: 3.938 kB / 1.019 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of Templates: time 0.5314/0.9522, allocations: 8.379 MB / 1.027 GB, free: 96.55 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1)