Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001562/0.001562, 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.001549/0.001549, allocations: 198.5 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.503/1.503, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 62.89 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4185, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale): time 0.003673/0.4223, allocations: 2.185 MB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002952/0.4252, allocations: 1.704 MB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.4256, allocations: 11.94 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.4259, allocations: 63.38 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.4261, allocations: 55.56 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.4271, allocations: 372.9 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006385/0.4278, allocations: 0.7112 MB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000534/0.4283, allocations: 361.8 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.4286, allocations: 254.9 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.4289, allocations: 286.5 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.177e-05/0.429, allocations: 44 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.4291, allocations: 55.98 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.4292, allocations: 131.4 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.4295, allocations: 290.3 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007322/0.4302, allocations: 0.845 MB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4302, allocations: 4 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4303, allocations: 0 / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.4303, allocations: 0 / 1.075 GB, free: 3.477 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.00174/0.432, allocations: 0.9715 MB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4321, allocations: 8.031 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.4322, allocations: 76.09 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005627/0.4328, allocations: 413.9 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.4329, allocations: 53.67 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.433, allocations: 60.38 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009799/0.434, allocations: 0.5236 MB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.434, allocations: 192 / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.142e-05/0.434, allocations: 27.94 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.4341, allocations: 12 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007596/0.4348, allocations: 373 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.4376, allocations: 1.666 MB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.4386, allocations: 0.8986 MB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.4391, allocations: 246.7 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.539e-05/0.4391, allocations: 8.438 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005409/0.4397, allocations: 277.3 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=53): time 3.387e-06/0.4397, allocations: 0 / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53): time 0.001261/0.441, allocations: 0.5767 MB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.4411, allocations: 111.2 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.4416, allocations: 405.6 kB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/0.4417, allocations: 45.64 kB / 1.081 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002222/0.4419, allocations: 261 kB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.4421, allocations: 173.5 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.4422, allocations: 114.2 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.4424, allocations: 358.7 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/0.4429, allocations: 223 kB / 1.082 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.4435, allocations: 311.3 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007899/0.4443, allocations: 491.5 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4443, allocations: 0 / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001308/0.4456, allocations: 0.6649 MB / 1.084 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.976e-05/0.4457, allocations: 75.55 kB / 1.084 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.4457, allocations: 4 kB / 1.084 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4457, allocations: 4 kB / 1.084 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.4461, allocations: 99.88 kB / 1.084 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.4462, allocations: 7.938 kB / 1.084 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.4467, allocations: 111.4 kB / 1.084 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.4468, allocations: 23.98 kB / 1.084 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005314/0.4473, allocations: 325.1 kB / 1.084 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004281/0.4477, allocations: 283.3 kB / 1.085 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000652/0.4484, allocations: 455.5 kB / 1.085 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/0.4484, allocations: 0 / 1.085 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001049/0.4495, allocations: 0.6259 MB / 1.086 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.4495, allocations: 75.39 kB / 1.086 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.4496, allocations: 0 / 1.086 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.4496, allocations: 4 kB / 1.086 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.4499, allocations: 91.83 kB / 1.086 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.4499, allocations: 4 kB / 1.086 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.4504, allocations: 95.75 kB / 1.086 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.4505, allocations: 24 kB / 1.086 GB, free: 7.355 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.0002236/0.4507, allocations: 229.7 kB / 1.086 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.4508, allocations: 55.28 kB / 1.086 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008845/0.4517, allocations: 469.6 kB / 1.087 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.4517, allocations: 8 kB / 1.087 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.4517, allocations: 0 / 1.087 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.4517, allocations: 3.984 kB / 1.087 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.4536, allocations: 1.221 MB / 1.088 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4536, allocations: 4 kB / 1.088 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.4539, allocations: 88.08 kB / 1.088 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.4539, allocations: 4 kB / 1.088 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.454, allocations: 12 kB / 1.088 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.454, allocations: 7.984 kB / 1.088 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.454, allocations: 7.938 kB / 1.088 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.4552, allocations: 0.7834 MB / 1.089 GB, free: 4.359 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.4553, allocations: 132.5 kB / 1.089 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.4554, allocations: 12 kB / 1.089 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.4556, allocations: 27.98 kB / 1.089 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.4557, allocations: 36.33 kB / 1.089 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.4557, allocations: 23.98 kB / 1.089 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003075/0.456, allocations: 279.2 kB / 1.089 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4561, allocations: 4 kB / 1.089 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000673/0.4567, allocations: 223.2 kB / 1.089 GB, free: 3.617 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.0002475/0.457, allocations: 131.1 kB / 1.09 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.4587, allocations: 1.005 MB / 1.091 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4587, allocations: 3.938 kB / 1.091 GB, free: 2.426 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.4591, allocations: 214.4 kB / 1.091 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.4598, allocations: 103.5 kB / 1.091 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.4616, allocations: 1.2 MB / 1.092 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.4621, allocations: 0.8635 MB / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002251/0.4623, allocations: 60.14 kB / 1.093 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.4625, allocations: 47.42 kB / 1.093 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.4625, allocations: 0 / 1.093 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of Templates: time 0.01332/0.4758, allocations: 7.067 MB / 1.1 GB, free: 8.875 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithResetScale.pipe 2>&1)