Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008359/0.008359, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.458/1.458, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.03/3.03, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004225, allocations: 11.5 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4023, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003723/0.4061, allocations: 2.859 MB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002805/0.4089, allocations: 1.66 MB / 1.079 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005331/0.4095, allocations: 19.94 kB / 1.079 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.4099, allocations: 114.9 kB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.4102, allocations: 83.38 kB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006653/0.4109, allocations: 303.7 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009346/0.4118, allocations: 0.9868 MB / 1.08 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008853/0.4127, allocations: 0.592 MB / 1.081 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.413, allocations: 258.3 kB / 1.081 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002902/0.4133, allocations: 301.8 kB / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.158e-05/0.4134, allocations: 35.94 kB / 1.081 GB, free: 276 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.218e-05/0.4134, allocations: 24 kB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.4136, allocations: 143.2 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.4139, allocations: 375 kB / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009295/0.4148, allocations: 1.152 MB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4148, allocations: 0 / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4148, allocations: 3.938 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.4148, allocations: 0 / 1.083 GB, free: 14.57 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002037/0.4169, allocations: 1.142 MB / 1.084 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4169, allocations: 12.03 kB / 1.084 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.4171, allocations: 119.6 kB / 1.084 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007049/0.4178, allocations: 0.5442 MB / 1.085 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.4179, allocations: 70.38 kB / 1.085 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.418, allocations: 100.3 kB / 1.085 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.4196, allocations: 0.8945 MB / 1.086 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.4196, allocations: 4.188 kB / 1.086 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/0.4197, allocations: 43.92 kB / 1.086 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.4197, allocations: 24 kB / 1.086 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.421, allocations: 0.652 MB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004231/0.4253, allocations: 2.868 MB / 1.089 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.4269, allocations: 1.335 MB / 1.09 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006787/0.4276, allocations: 415.9 kB / 1.091 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.4277, allocations: 16.62 kB / 1.091 GB, free: 6 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007462/0.4284, allocations: 368.4 kB / 1.091 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 2.254e-06/0.4285, allocations: 0 / 1.091 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.001722/0.4302, allocations: 0.8641 MB / 1.092 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/0.4303, allocations: 170.9 kB / 1.092 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.431, allocations: 0.5576 MB / 1.093 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.431, allocations: 41.7 kB / 1.093 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.4313, allocations: 400.1 kB / 1.093 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.4315, allocations: 248.4 kB / 1.093 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.944e-05/0.4316, allocations: 69.67 kB / 1.093 GB, free: 3.223 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4318, allocations: 382.8 kB / 1.094 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/0.4324, allocations: 253.9 kB / 1.094 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.4331, allocations: 385.1 kB / 1.094 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.4342, allocations: 0.5643 MB / 1.095 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4342, allocations: 0 / 1.095 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001464/0.4357, allocations: 0.7426 MB / 1.096 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.264e-05/0.4358, allocations: 115.6 kB / 1.096 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4358, allocations: 3.938 kB / 1.096 GB, free: 0.7266 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.4358, allocations: 4 kB / 1.096 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006458/0.4365, allocations: 171.9 kB / 1.096 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.4365, allocations: 4 kB / 1.096 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.437, allocations: 111.2 kB / 1.096 GB, free: 452 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.437, allocations: 28.09 kB / 1.096 GB, free: 424 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.437, allocations: 9.812 kB / 1.096 GB, free: 416 kB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008699/0.4379, allocations: 0.5194 MB / 1.097 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4379, allocations: 4 kB / 1.097 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.4379, allocations: 16.02 kB / 1.097 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.4384, allocations: 127.8 kB / 1.097 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4384, allocations: 4 kB / 1.097 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.4388, allocations: 87.34 kB / 1.097 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.4388, allocations: 20 kB / 1.097 GB, free: 15.63 MB / 0.8575 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 (87): * Single equations (assignments): 87 * 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.000392/0.4392, allocations: 304.9 kB / 1.097 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/0.4393, allocations: 75.06 kB / 1.097 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.4407, allocations: 0.6768 MB / 1.098 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4407, allocations: 12 kB / 1.098 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4407, allocations: 0 / 1.098 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.4407, allocations: 3.984 kB / 1.098 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.4434, allocations: 1.735 MB / 1.1 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4434, allocations: 4 kB / 1.1 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000573/0.444, allocations: 135.9 kB / 1.1 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.444, allocations: 7.938 kB / 1.1 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-05/0.4441, allocations: 23.98 kB / 1.1 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.4441, allocations: 8 kB / 1.1 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4441, allocations: 8.156 kB / 1.1 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.446, allocations: 1.116 MB / 1.101 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.4462, allocations: 160.1 kB / 1.101 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.4463, allocations: 16 kB / 1.101 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.4466, allocations: 59.95 kB / 1.101 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/0.4467, allocations: 48.44 kB / 1.101 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.4468, allocations: 20 kB / 1.101 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004853/0.4473, allocations: 398.8 kB / 1.102 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.2e-07/0.4473, allocations: 0 / 1.102 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007618/0.448, allocations: 310.4 kB / 1.102 GB, free: 10.39 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (74): * Single equations (assignments): 74 * 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.0002987/0.4483, allocations: 131.2 kB / 1.102 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.45, allocations: 0.9185 MB / 1.103 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.45, allocations: 0 / 1.103 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000535/0.4506, allocations: 327.6 kB / 1.103 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008975/0.4515, allocations: 142.3 kB / 1.103 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.4541, allocations: 1.943 MB / 1.105 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.4547, allocations: 0.9742 MB / 1.106 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003127/0.455, allocations: 81.2 kB / 1.106 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.4552, allocations: 63.42 kB / 1.106 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of SimCode: time 1.433e-06/0.4552, allocations: 0 / 1.106 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of Templates: time 0.01451/0.4697, allocations: 7.05 MB / 1.113 GB, free: 14.75 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1)