Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, 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.001878/0.001878, allocations: 192.1 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.518/1.518, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002392, allocations: 75.09 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3471, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.007666/0.3548, allocations: 5.502 MB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004347/0.3592, allocations: 1.731 MB / 1.075 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.3605, allocations: 31.88 kB / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.3616, allocations: 190.2 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.3629, allocations: 135 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.365, allocations: 0.534 MB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002462/0.3675, allocations: 1.487 MB / 1.077 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.3692, allocations: 0.7775 MB / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007504/0.3699, allocations: 453.6 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007323/0.3707, allocations: 0.5437 MB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003437/0.3711, allocations: 76 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.3714, allocations: 87.98 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.3717, allocations: 242.8 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008631/0.3726, allocations: 0.5666 MB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.3744, allocations: 1.76 MB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3744, allocations: 4 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3744, allocations: 0 / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.735e-05/0.3745, allocations: 0 / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003799/0.3783, allocations: 1.695 MB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3783, allocations: 8.031 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.3786, allocations: 159.1 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.3798, allocations: 0.7354 MB / 1.084 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.722e-05/0.3799, allocations: 90.53 kB / 1.084 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.3801, allocations: 116.4 kB / 1.084 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.3822, allocations: 1.081 MB / 1.085 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.3822, allocations: 4.125 kB / 1.085 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/0.3823, allocations: 59.92 kB / 1.085 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.3823, allocations: 28 kB / 1.085 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.3842, allocations: 0.8043 MB / 1.086 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005899/0.3901, allocations: 3.909 MB / 1.09 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.3922, allocations: 0.9492 MB / 1.091 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007958/0.393, allocations: 450.6 kB / 1.091 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-05/0.393, allocations: 12.66 kB / 1.091 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000842/0.3939, allocations: 423.3 kB / 1.092 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=84): time 2.695e-06/0.3939, allocations: 0 / 1.092 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of matching and sorting (n=84): time 0.00214/0.3961, allocations: 1.026 MB / 1.093 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.3962, allocations: 222.6 kB / 1.093 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.3974, allocations: 0.8606 MB / 1.094 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.923e-05/0.3975, allocations: 41.7 kB / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/0.398, allocations: 0.558 MB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.3983, allocations: 291.8 kB / 1.094 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002907/0.3986, allocations: 178.5 kB / 1.095 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3987, allocations: 341.9 kB / 1.095 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007497/0.3995, allocations: 352.7 kB / 1.095 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009275/0.4004, allocations: 0.5717 MB / 1.096 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.4019, allocations: 0.84 MB / 1.097 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.4019, allocations: 0 / 1.097 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002049/0.404, allocations: 1.072 MB / 1.098 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.404, allocations: 33.7 kB / 1.098 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.404, allocations: 4 kB / 1.098 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.4041, allocations: 15.94 kB / 1.098 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007698/0.4048, allocations: 199.7 kB / 1.098 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/0.4049, allocations: 15.94 kB / 1.098 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/0.4057, allocations: 167 kB / 1.098 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.46e-05/0.4057, allocations: 39.98 kB / 1.098 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000764/0.4065, allocations: 458 kB / 1.099 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006353/0.4072, allocations: 0.5053 MB / 1.099 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001019/0.4082, allocations: 0.7074 MB / 1.1 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.56e-06/0.4082, allocations: 0 / 1.1 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.001472/0.4097, allocations: 0.9195 MB / 1.101 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.4097, allocations: 41.69 kB / 1.101 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4098, allocations: 4 kB / 1.101 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4098, allocations: 8 kB / 1.101 GB, free: 8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/0.4104, allocations: 167.8 kB / 1.101 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/0.4104, allocations: 12.5 kB / 1.101 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/0.4111, allocations: 139.2 kB / 1.101 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.4112, allocations: 36 kB / 1.101 GB, free: 7.652 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,pulse.booPul.y,$PRE.pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.0002652/0.4114, allocations: 244.6 kB / 1.101 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.4116, allocations: 106.7 kB / 1.101 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.4119, allocations: 118.9 kB / 1.102 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.4119, allocations: 8 kB / 1.102 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.4119, allocations: 0 / 1.102 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.4119, allocations: 3.984 kB / 1.102 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.4132, allocations: 0.9864 MB / 1.103 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.4132, allocations: 0 / 1.103 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006605/0.4139, allocations: 159.8 kB / 1.103 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.4139, allocations: 4 kB / 1.103 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/0.4139, allocations: 19.98 kB / 1.103 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4139, allocations: 4 kB / 1.103 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.414, allocations: 0 / 1.103 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.4161, allocations: 1.198 MB / 1.104 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.4163, allocations: 195.5 kB / 1.104 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.4164, allocations: 16 kB / 1.104 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.4168, allocations: 55.94 kB / 1.104 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4169, allocations: 48.94 kB / 1.104 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-05/0.417, allocations: 27.92 kB / 1.104 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007788/0.4178, allocations: 0.5867 MB / 1.105 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4178, allocations: 0 / 1.105 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009637/0.4188, allocations: 414.3 kB / 1.105 GB, free: 3.375 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($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 (84): * Single equations (assignments): 83 * 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.0002353/0.419, allocations: 131.1 kB / 1.105 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002397/0.4214, allocations: 1.354 MB / 1.107 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.4214, allocations: 0 / 1.107 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006626/0.4221, allocations: 377.8 kB / 1.107 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.4231, allocations: 243.8 kB / 1.107 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.4267, allocations: 2.346 MB / 1.109 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007516/0.4274, allocations: 1.081 MB / 1.111 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005805/0.428, allocations: 127.8 kB / 1.111 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.4283, allocations: 75.42 kB / 1.111 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of SimCode: time 8.22e-07/0.4283, allocations: 0 / 1.111 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of Templates: time 0.02237/0.4507, allocations: 11.59 MB / 1.122 GB, free: 2.086 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)