Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001144/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00129/0.00129, allocations: 193.8 kB / 16.14 MB, free: 6.664 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.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 65.84 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3366, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.00677/0.3434, allocations: 5.52 MB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003313/0.3468, allocations: 1.708 MB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005783/0.3474, allocations: 35.88 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005306/0.348, allocations: 194.2 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005299/0.3485, allocations: 138.9 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3496, allocations: 0.5298 MB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.351, allocations: 1.476 MB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.3521, allocations: 0.7931 MB / 1.078 GB, free: 408 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.3526, allocations: 457.6 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.3531, allocations: 0.5358 MB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.3533, allocations: 76 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.3535, allocations: 87.98 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.3537, allocations: 242.8 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.3541, allocations: 0.5666 MB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.3554, allocations: 1.752 MB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3554, allocations: 3.938 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.81e-07/0.3554, allocations: 4 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.3554, allocations: 0 / 1.081 GB, free: 12.68 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.002838/0.3583, allocations: 1.695 MB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3583, allocations: 11.97 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.3586, allocations: 159 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009314/0.3595, allocations: 0.7393 MB / 1.084 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.668e-05/0.3596, allocations: 86.55 kB / 1.084 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.3597, allocations: 124.3 kB / 1.084 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.3616, allocations: 1.085 MB / 1.085 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3616, allocations: 192 / 1.085 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.187e-05/0.3617, allocations: 47.94 kB / 1.085 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.3617, allocations: 28 kB / 1.085 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.3634, allocations: 0.8121 MB / 1.086 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005261/0.3687, allocations: 3.893 MB / 1.09 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.3707, allocations: 0.9522 MB / 1.091 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000773/0.3715, allocations: 450.6 kB / 1.091 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.3715, allocations: 12.66 kB / 1.091 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008178/0.3723, allocations: 423.3 kB / 1.092 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=84): time 3.988e-06/0.3723, allocations: 3.984 kB / 1.092 GB, free: 1.848 MB / 0.8419 GB Notification: Performance of matching and sorting (n=84): time 0.002124/0.3745, allocations: 1.034 MB / 1.093 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.3746, allocations: 218.6 kB / 1.093 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.3757, allocations: 0.8566 MB / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.315e-05/0.3758, allocations: 49.7 kB / 1.094 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.3762, allocations: 0.5581 MB / 1.094 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.3764, allocations: 283.8 kB / 1.094 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.3767, allocations: 178.5 kB / 1.095 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3768, allocations: 349.9 kB / 1.095 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007659/0.3775, allocations: 344.7 kB / 1.095 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008586/0.3784, allocations: 0.5755 MB / 1.096 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.3799, allocations: 0.84 MB / 1.097 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3799, allocations: 0 / 1.097 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00208/0.382, allocations: 1.068 MB / 1.098 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/0.3821, allocations: 37.7 kB / 1.098 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3821, allocations: 4 kB / 1.098 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.3821, allocations: 8 kB / 1.098 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007912/0.3829, allocations: 203.7 kB / 1.098 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/0.3829, allocations: 8.125 kB / 1.098 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007672/0.3837, allocations: 170.9 kB / 1.098 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/0.3838, allocations: 40 kB / 1.098 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007729/0.3846, allocations: 462 kB / 1.099 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006499/0.3852, allocations: 0.4975 MB / 1.099 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001053/0.3863, allocations: 0.7113 MB / 1.1 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.3863, allocations: 7.875 kB / 1.1 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.001542/0.3879, allocations: 0.9194 MB / 1.101 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.3879, allocations: 41.69 kB / 1.101 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3879, allocations: 4 kB / 1.101 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.3879, allocations: 12.56 kB / 1.101 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.3886, allocations: 171.8 kB / 1.101 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3886, allocations: 8 kB / 1.101 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.3892, allocations: 135.2 kB / 1.101 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.3893, allocations: 36 kB / 1.101 GB, free: 7.605 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.000269/0.3896, allocations: 252.5 kB / 1.101 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.3897, allocations: 106.7 kB / 1.101 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.39, allocations: 110.9 kB / 1.102 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.39, allocations: 8 kB / 1.102 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.39, allocations: 4 kB / 1.102 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.39, allocations: 3.984 kB / 1.102 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.3912, allocations: 0.9825 MB / 1.103 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3912, allocations: 0 / 1.103 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006835/0.3919, allocations: 159.8 kB / 1.103 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3919, allocations: 0 / 1.103 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/0.392, allocations: 23.98 kB / 1.103 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.392, allocations: 0 / 1.103 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.392, allocations: 0 / 1.103 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.3941, allocations: 1.194 MB / 1.104 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.3943, allocations: 195.4 kB / 1.104 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.3944, allocations: 20 kB / 1.104 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.3948, allocations: 51.95 kB / 1.104 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/0.3949, allocations: 48.92 kB / 1.104 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.3949, allocations: 27.94 kB / 1.104 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007338/0.3956, allocations: 0.5828 MB / 1.105 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3956, allocations: 0 / 1.105 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009453/0.3966, allocations: 422.3 kB / 1.105 GB, free: 3.332 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.0001906/0.3968, allocations: 127.1 kB / 1.105 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002278/0.3991, allocations: 1.35 MB / 1.107 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3991, allocations: 4.125 kB / 1.107 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.3998, allocations: 373.6 kB / 1.107 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.4008, allocations: 243.5 kB / 1.107 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.4038, allocations: 2.346 MB / 1.109 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/0.4044, allocations: 1.077 MB / 1.111 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005135/0.405, allocations: 131.9 kB / 1.111 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.4052, allocations: 79.42 kB / 1.111 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/0.4052, allocations: 0 / 1.111 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.02081/0.426, allocations: 11.59 MB / 1.122 GB, free: 2.043 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)