Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, 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.00211/0.002111, allocations: 192.3 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.507/1.507, 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.886/2.886, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 68.56 kB / 0.9113 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3733, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.01073/0.3841, allocations: 4.33 MB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005467/0.3896, allocations: 1.539 MB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.3907, allocations: 39.81 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000775/0.3915, allocations: 126.9 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.393, allocations: 186.7 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.3959, allocations: 0.6175 MB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002777/0.3987, allocations: 1.136 MB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.4003, allocations: 492.2 kB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.4014, allocations: 409.8 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008615/0.4023, allocations: 425.4 kB / 1.077 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.4026, allocations: 48 kB / 1.077 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.4028, allocations: 48 kB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.4031, allocations: 179.1 kB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0007825/0.4039, allocations: 445 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.4057, allocations: 1.047 MB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4057, allocations: 0 / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4057, allocations: 3.938 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.239e-05/0.4058, allocations: 0 / 1.078 GB, free: 15.86 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.004777/0.4105, allocations: 1.405 MB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.4106, allocations: 12.03 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003843/0.411, allocations: 119.5 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.4134, allocations: 0.7313 MB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.4136, allocations: 84.27 kB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.4138, allocations: 68.38 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/0.4163, allocations: 0.7368 MB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.4163, allocations: 0 / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.4165, allocations: 28 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.4165, allocations: 16 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.4189, allocations: 0.5243 MB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007083/0.426, allocations: 2.275 MB / 1.084 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002876/0.4289, allocations: 0.6189 MB / 1.085 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.4301, allocations: 278.4 kB / 1.085 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.103e-05/0.4302, allocations: 4.562 kB / 1.085 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/0.4317, allocations: 319.1 kB / 1.085 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=60): time 4.228e-06/0.4317, allocations: 0 / 1.085 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=60): time 0.003432/0.4351, allocations: 0.7516 MB / 1.086 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.4353, allocations: 89.67 kB / 1.086 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.4372, allocations: 0.7594 MB / 1.087 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.853e-05/0.4373, allocations: 37.7 kB / 1.087 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/0.4379, allocations: 444.5 kB / 1.087 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/0.4382, allocations: 201 kB / 1.087 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003071/0.4386, allocations: 110.2 kB / 1.088 GB, free: 6 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.4388, allocations: 330 kB / 1.088 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009704/0.4398, allocations: 207.4 kB / 1.088 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.4409, allocations: 308.4 kB / 1.088 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.4429, allocations: 0.5036 MB / 1.089 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.4429, allocations: 3.984 kB / 1.089 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002627/0.4456, allocations: 0.6462 MB / 1.09 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.4456, allocations: 8 kB / 1.09 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.4457, allocations: 11.98 kB / 1.09 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.4457, allocations: 4 kB / 1.09 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.4471, allocations: 144 kB / 1.09 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.974e-05/0.4471, allocations: 19.86 kB / 1.09 GB, free: 3.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009473/0.4481, allocations: 67.36 kB / 1.09 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.4482, allocations: 27.92 kB / 1.09 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001281/0.4495, allocations: 357.3 kB / 1.09 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009918/0.4505, allocations: 292.5 kB / 1.09 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001818/0.4523, allocations: 491.7 kB / 1.091 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.006e-05/0.4524, allocations: 4 kB / 1.091 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002454/0.4548, allocations: 0.6346 MB / 1.092 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4549, allocations: 4 kB / 1.092 GB, free: 1.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4549, allocations: 4 kB / 1.092 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4549, allocations: 4 kB / 1.092 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.4562, allocations: 139.8 kB / 1.092 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/0.4562, allocations: 4 kB / 1.092 GB, free: 1.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009135/0.4572, allocations: 67.44 kB / 1.092 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.315e-05/0.4573, allocations: 20 kB / 1.092 GB, free: 1.594 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0003212/0.4576, allocations: 219 kB / 1.092 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.4579, allocations: 94.88 kB / 1.092 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/0.4583, allocations: 105.2 kB / 1.092 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.4583, allocations: 4 kB / 1.092 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.4583, allocations: 7.938 kB / 1.092 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.4584, allocations: 3.984 kB / 1.092 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004433/0.4628, allocations: 1.438 MB / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4628, allocations: 0 / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.4641, allocations: 103.8 kB / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.4641, allocations: 4 kB / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/0.4642, allocations: 16 kB / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/0.4642, allocations: 4 kB / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4642, allocations: 0 / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.4677, allocations: 0.9625 MB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005223/0.4682, allocations: 223.7 kB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.4685, allocations: 16 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008832/0.4694, allocations: 31.91 kB / 1.095 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.4696, allocations: 40.5 kB / 1.095 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.011e-05/0.4697, allocations: 16 kB / 1.095 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001272/0.471, allocations: 0.5185 MB / 1.095 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.91e-07/0.471, allocations: 0 / 1.095 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001395/0.4724, allocations: 275 kB / 1.096 GB, free: 13.44 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0002341/0.4726, allocations: 117.2 kB / 1.096 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003238/0.4759, allocations: 0.7915 MB / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4759, allocations: 1 kB / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009998/0.4769, allocations: 275.1 kB / 1.097 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.4793, allocations: 247.4 kB / 1.097 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.4845, allocations: 1.885 MB / 1.099 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008902/0.4854, allocations: 0.994 MB / 1.1 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001128/0.4866, allocations: 118.8 kB / 1.1 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/0.4869, allocations: 59.42 kB / 1.1 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of SimCode: time 9.32e-07/0.4869, allocations: 0 / 1.1 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of Templates: time 0.03276/0.5197, allocations: 8.77 MB / 1.109 GB, free: 232 kB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)