Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002412/0.002412, allocations: 191.6 kB / 16.14 MB, free: 6.688 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.987/2.987, allocations: 472.6 MB / 0.7447 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 66.08 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3743, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.004372/0.3787, allocations: 2.105 MB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.3817, allocations: 1.602 MB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/0.382, allocations: 8 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.3823, allocations: 67.38 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.3825, allocations: 51.58 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008187/0.3833, allocations: 287 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006617/0.384, allocations: 0.6101 MB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005501/0.3845, allocations: 325.2 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.3848, allocations: 223 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.3851, allocations: 250.6 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.3852, allocations: 36 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.3853, allocations: 51.98 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.957e-05/0.3854, allocations: 111.5 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.3857, allocations: 262.4 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007251/0.3864, allocations: 0.7594 MB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3864, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3864, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.3864, allocations: 0 / 1.074 GB, free: 4.168 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.00161/0.388, allocations: 0.9072 MB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.3881, allocations: 12.03 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.3882, allocations: 68.09 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.3888, allocations: 404.6 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.3888, allocations: 49.31 kB / 1.075 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.3889, allocations: 56.38 kB / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008674/0.3898, allocations: 0.4917 MB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.3899, allocations: 192 / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.3899, allocations: 23.94 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.3899, allocations: 12 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006711/0.3906, allocations: 355.8 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.3931, allocations: 1.558 MB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000952/0.394, allocations: 0.8719 MB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.3944, allocations: 232.3 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.3945, allocations: 7.938 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004578/0.3949, allocations: 248.9 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=47): time 2.244e-06/0.395, allocations: 4 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47): time 0.001056/0.396, allocations: 0.522 MB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.678e-05/0.3961, allocations: 111.2 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.3965, allocations: 389.5 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.3966, allocations: 41.69 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.3968, allocations: 256.9 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.3969, allocations: 149.8 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.3971, allocations: 102.1 kB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.3973, allocations: 358.8 kB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.3978, allocations: 179 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005103/0.3983, allocations: 292.2 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/0.3992, allocations: 427.4 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.3992, allocations: 8 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001088/0.4003, allocations: 0.5595 MB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.4003, allocations: 41.64 kB / 1.083 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4003, allocations: 4 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.4004, allocations: 12.2 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.4008, allocations: 91.89 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.4008, allocations: 4 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.4012, allocations: 83.47 kB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.4013, allocations: 23.98 kB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004555/0.4017, allocations: 285.1 kB / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004026/0.4021, allocations: 256.3 kB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005628/0.4027, allocations: 384.1 kB / 1.084 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.4027, allocations: 0 / 1.084 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009026/0.4036, allocations: 0.5245 MB / 1.084 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.4037, allocations: 39.27 kB / 1.084 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4037, allocations: 3.938 kB / 1.084 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.4037, allocations: 4 kB / 1.084 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.404, allocations: 91.83 kB / 1.084 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.4041, allocations: 4 kB / 1.084 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.4044, allocations: 71.83 kB / 1.084 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.4045, allocations: 23.98 kB / 1.084 GB, free: 9.094 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.0002238/0.4048, allocations: 208.8 kB / 1.085 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/0.4048, allocations: 51.38 kB / 1.085 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008116/0.4056, allocations: 433.3 kB / 1.085 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4057, allocations: 8 kB / 1.085 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4057, allocations: 0 / 1.085 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.4057, allocations: 3.984 kB / 1.085 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.4073, allocations: 1.128 MB / 1.086 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4073, allocations: 7.938 kB / 1.086 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.4077, allocations: 75.91 kB / 1.086 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/0.4077, allocations: 11.92 kB / 1.086 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.4078, allocations: 12.19 kB / 1.086 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4078, allocations: 11.94 kB / 1.086 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.4078, allocations: 7.938 kB / 1.086 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.4089, allocations: 0.7286 MB / 1.087 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.409, allocations: 128.6 kB / 1.087 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.4091, allocations: 8.094 kB / 1.087 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.4093, allocations: 23.98 kB / 1.087 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.4094, allocations: 43.88 kB / 1.087 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.4094, allocations: 16 kB / 1.087 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003218/0.4097, allocations: 271.2 kB / 1.087 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4097, allocations: 0 / 1.087 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006738/0.4104, allocations: 199.2 kB / 1.088 GB, free: 5.598 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: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.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): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002549/0.4107, allocations: 119.2 kB / 1.088 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.412, allocations: 0.7877 MB / 1.089 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.412, allocations: 0.875 kB / 1.089 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.4124, allocations: 199.8 kB / 1.089 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.413, allocations: 85.5 kB / 1.089 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.4148, allocations: 1.142 MB / 1.09 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.4152, allocations: 0.8476 MB / 1.091 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002385/0.4155, allocations: 59.36 kB / 1.091 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.4156, allocations: 39.42 kB / 1.091 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of SimCode: time 7.71e-07/0.4156, allocations: 0 / 1.091 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of Templates: time 0.01212/0.4277, allocations: 5.699 MB / 1.096 GB, free: 12.58 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1)