Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0009813/0.0009816, allocations: 91.77 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.008699/0.008699, allocations: 170.7 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.668/1.668, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.027/3.027, allocations: 473.4 MB / 0.7469 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.0004162, allocations: 15.53 kB / 0.9158 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3455, allocations: 162.2 MB / 1.074 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.002714/0.3482, allocations: 1.79 MB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.3514, allocations: 1.696 MB / 1.078 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006071/0.3521, allocations: 8 kB / 1.078 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.3524, allocations: 59.38 kB / 1.078 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.3528, allocations: 55.56 kB / 1.078 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.354, allocations: 381.8 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007221/0.3547, allocations: 0.7073 MB / 1.079 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005733/0.3553, allocations: 357.8 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.3556, allocations: 206.9 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.3558, allocations: 226.6 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.3559, allocations: 24 kB / 1.08 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.356, allocations: 43.98 kB / 1.08 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.3561, allocations: 91.48 kB / 1.08 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.3564, allocations: 276 kB / 1.08 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007304/0.3571, allocations: 0.8098 MB / 1.081 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3571, allocations: 0 / 1.081 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.434e-06/0.3571, allocations: 0 / 1.081 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.3571, allocations: 0 / 1.081 GB, free: 0.8555 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.001644/0.3588, allocations: 0.8625 MB / 1.082 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.228e-05/0.3589, allocations: 12.03 kB / 1.082 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.359, allocations: 76.08 kB / 1.082 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.3595, allocations: 414 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/0.3596, allocations: 57.56 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3597, allocations: 68.28 kB / 1.082 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009132/0.3606, allocations: 0.5236 MB / 1.083 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.3606, allocations: 8.156 kB / 1.083 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.3607, allocations: 27.94 kB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.3607, allocations: 12 kB / 1.083 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.3615, allocations: 385 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.3641, allocations: 1.689 MB / 1.085 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.3652, allocations: 0.917 MB / 1.086 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004349/0.3657, allocations: 246.7 kB / 1.086 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.3657, allocations: 12.38 kB / 1.086 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005131/0.3662, allocations: 289.2 kB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=53): time 2.124e-06/0.3662, allocations: 0 / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53): time 0.001227/0.3675, allocations: 0.6079 MB / 1.087 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.3675, allocations: 115.2 kB / 1.087 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/0.368, allocations: 401.6 kB / 1.087 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.41e-05/0.3681, allocations: 41.7 kB / 1.087 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.3683, allocations: 257 kB / 1.087 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.3685, allocations: 165.6 kB / 1.088 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.872e-05/0.3686, allocations: 61.69 kB / 1.088 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3687, allocations: 358.7 kB / 1.088 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/0.3692, allocations: 221 kB / 1.088 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005579/0.3698, allocations: 319.3 kB / 1.089 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008786/0.3707, allocations: 0.5034 MB / 1.089 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3707, allocations: 0 / 1.089 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001344/0.3721, allocations: 0.6885 MB / 1.09 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.3722, allocations: 201 kB / 1.09 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3722, allocations: 4 kB / 1.09 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3722, allocations: 4 kB / 1.09 GB, free: 6.879 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.3727, allocations: 99.83 kB / 1.09 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.3727, allocations: 11.92 kB / 1.09 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/0.3733, allocations: 139.4 kB / 1.09 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.3734, allocations: 27.98 kB / 1.09 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/0.3734, allocations: 4 kB / 1.09 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001033/0.3744, allocations: 0.5857 MB / 1.091 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3745, allocations: 0 / 1.091 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.3745, allocations: 4 kB / 1.091 GB, free: 6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.3748, allocations: 84.06 kB / 1.091 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.3748, allocations: 8 kB / 1.091 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/0.3754, allocations: 131.4 kB / 1.091 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/0.3755, allocations: 20 kB / 1.091 GB, free: 5.762 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.0002958/0.3758, allocations: 272.9 kB / 1.091 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.3759, allocations: 47.44 kB / 1.091 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009311/0.3768, allocations: 493.5 kB / 1.092 GB, free: 4.953 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.3768, allocations: 4 kB / 1.092 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3769, allocations: 4 kB / 1.092 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.3769, allocations: 3.984 kB / 1.092 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.3788, allocations: 1.229 MB / 1.093 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.371e-05/0.3789, allocations: 8.031 kB / 1.093 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.3793, allocations: 95.77 kB / 1.093 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.3793, allocations: 4 kB / 1.093 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.3793, allocations: 12 kB / 1.093 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.3793, allocations: 4 kB / 1.093 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3793, allocations: 3.984 kB / 1.093 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.3806, allocations: 0.8146 MB / 1.094 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.3807, allocations: 136.5 kB / 1.094 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.3808, allocations: 12 kB / 1.094 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.3811, allocations: 27.98 kB / 1.094 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.3812, allocations: 36.33 kB / 1.094 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.3812, allocations: 23.98 kB / 1.094 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003307/0.3815, allocations: 283.2 kB / 1.094 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3815, allocations: 7.938 kB / 1.094 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007426/0.3823, allocations: 223.2 kB / 1.095 GB, free: 1.906 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.0002405/0.3825, allocations: 123.2 kB / 1.095 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.3844, allocations: 1.024 MB / 1.096 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.3845, allocations: 0 / 1.096 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004481/0.3849, allocations: 231.3 kB / 1.096 GB, free: 492 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000803/0.3857, allocations: 103.1 kB / 1.096 GB, free: 392 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.3876, allocations: 1.229 MB / 1.097 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.3881, allocations: 0.8596 MB / 1.098 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002536/0.3884, allocations: 68.45 kB / 1.098 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3885, allocations: 39.44 kB / 1.098 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of SimCode: time 1.092e-06/0.3885, allocations: 0 / 1.098 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of Templates: time 0.01362/0.4021, allocations: 7.041 MB / 1.105 GB, free: 7.152 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1)