Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001042/0.001042, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009799/0.009799, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.602/1.602, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.028/3.028, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003461, allocations: 13.12 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.406, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.003761/0.4098, allocations: 2.859 MB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00295/0.4128, allocations: 1.664 MB / 1.079 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004895/0.4133, allocations: 19.94 kB / 1.079 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.4137, allocations: 114.9 kB / 1.079 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.414, allocations: 83.38 kB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.4147, allocations: 307.7 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001065/0.4158, allocations: 0.979 MB / 1.08 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009224/0.4167, allocations: 0.5959 MB / 1.081 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.4171, allocations: 254.3 kB / 1.081 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.4174, allocations: 313.7 kB / 1.081 GB, free: 320 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.954e-05/0.4175, allocations: 28 kB / 1.081 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.578e-05/0.4175, allocations: 28 kB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.4177, allocations: 131.2 kB / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.418, allocations: 379 kB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009352/0.4189, allocations: 1.156 MB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4189, allocations: 0 / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.786e-06/0.4189, allocations: 0 / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.419, allocations: 0 / 1.083 GB, free: 14.59 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.002104/0.4211, allocations: 1.142 MB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.4211, allocations: 12.03 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.4213, allocations: 111.6 kB / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.4221, allocations: 0.552 MB / 1.085 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-05/0.4222, allocations: 74.31 kB / 1.085 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.4224, allocations: 104.3 kB / 1.085 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.4239, allocations: 0.8867 MB / 1.086 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.4239, allocations: 4.188 kB / 1.086 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/0.424, allocations: 43.92 kB / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.424, allocations: 20 kB / 1.086 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.4254, allocations: 0.6636 MB / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/0.4298, allocations: 2.861 MB / 1.089 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.4316, allocations: 1.339 MB / 1.09 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007861/0.4324, allocations: 419.9 kB / 1.091 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.758e-05/0.4324, allocations: 8.656 kB / 1.091 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009151/0.4334, allocations: 368.4 kB / 1.091 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=74): time 3.727e-06/0.4334, allocations: 4 kB / 1.091 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of matching and sorting (n=74): time 0.00199/0.4354, allocations: 0.8563 MB / 1.092 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.4355, allocations: 170.9 kB / 1.092 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008939/0.4364, allocations: 0.5654 MB / 1.093 GB, free: 4.004 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-05/0.4365, allocations: 41.7 kB / 1.093 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.4369, allocations: 400.1 kB / 1.093 GB, free: 3.559 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.4371, allocations: 248.4 kB / 1.093 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.4371, allocations: 69.67 kB / 1.093 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4373, allocations: 382.8 kB / 1.094 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.4379, allocations: 253.9 kB / 1.094 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/0.4385, allocations: 381.1 kB / 1.094 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.4396, allocations: 0.5683 MB / 1.095 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4396, allocations: 0 / 1.095 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001406/0.441, allocations: 0.7426 MB / 1.096 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.569e-05/0.4412, allocations: 115.6 kB / 1.096 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4412, allocations: 3.938 kB / 1.096 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4412, allocations: 4 kB / 1.096 GB, free: 0.7383 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/0.4418, allocations: 163.9 kB / 1.096 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4418, allocations: 4 kB / 1.096 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.4423, allocations: 115.2 kB / 1.096 GB, free: 472 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.4423, allocations: 27.98 kB / 1.096 GB, free: 444 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.54e-06/0.4423, allocations: 4 kB / 1.096 GB, free: 440 kB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008498/0.4432, allocations: 0.5233 MB / 1.097 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.4432, allocations: 3.938 kB / 1.097 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.4432, allocations: 8.094 kB / 1.097 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.4437, allocations: 135.8 kB / 1.097 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4437, allocations: 4 kB / 1.097 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.4441, allocations: 83.34 kB / 1.097 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.4441, allocations: 20 kB / 1.097 GB, free: 15.66 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.0003947/0.4445, allocations: 300.9 kB / 1.097 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.4446, allocations: 83.05 kB / 1.097 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.4459, allocations: 0.6768 MB / 1.098 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.4459, allocations: 12 kB / 1.098 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4459, allocations: 0 / 1.098 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.446, allocations: 7.969 kB / 1.098 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/0.4487, allocations: 1.735 MB / 1.1 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4487, allocations: 0 / 1.1 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/0.4493, allocations: 147.7 kB / 1.1 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.4494, allocations: 4 kB / 1.1 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.4494, allocations: 20 kB / 1.1 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.4494, allocations: 7.984 kB / 1.1 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4494, allocations: 4.125 kB / 1.1 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.4513, allocations: 1.12 MB / 1.101 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.4514, allocations: 160.1 kB / 1.101 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.549e-05/0.4515, allocations: 16 kB / 1.101 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.4519, allocations: 59.95 kB / 1.101 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.452, allocations: 40.45 kB / 1.101 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.452, allocations: 27.98 kB / 1.101 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004603/0.4525, allocations: 398.9 kB / 1.102 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4525, allocations: 3.938 kB / 1.102 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007287/0.4532, allocations: 310.4 kB / 1.102 GB, free: 10.41 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.0002054/0.4534, allocations: 128.3 kB / 1.102 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001687/0.4551, allocations: 0.9146 MB / 1.103 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4551, allocations: 0 / 1.103 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005716/0.4557, allocations: 331.5 kB / 1.103 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009339/0.4567, allocations: 144.4 kB / 1.103 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.4592, allocations: 1.943 MB / 1.105 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/0.4598, allocations: 0.9781 MB / 1.106 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003319/0.4601, allocations: 89.17 kB / 1.106 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.4603, allocations: 63.42 kB / 1.106 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.4603, allocations: 0 / 1.106 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of Templates: time 0.01343/0.4737, allocations: 7.033 MB / 1.113 GB, free: 14.77 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1)