Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001044/0.001044, allocations: 104 kB / 16.35 MB, free: 5.824 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.001052/0.001052, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002128/0.002128, allocations: 295.2 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9256/0.9256, allocations: 169.3 MB / 0.4989 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 95.17 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1339, allocations: 86.97 MB / 0.6816 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.00494/0.1389, allocations: 4.339 MB / 0.6858 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002359/0.1412, allocations: 1.586 MB / 0.6874 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000318/0.1416, allocations: 39.81 kB / 0.6874 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.1419, allocations: 166.2 kB / 0.6876 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000524/0.1425, allocations: 225.1 kB / 0.6878 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.1436, allocations: 0.6642 MB / 0.6884 GB, free: 400 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.2337/0.3773, allocations: 1.221 MB / 0.6896 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007414/0.378, allocations: 0.5055 MB / 0.6901 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005042/0.3786, allocations: 462.5 kB / 0.6906 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004043/0.379, allocations: 458.3 kB / 0.691 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.3791, allocations: 101.3 kB / 0.6911 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3792, allocations: 103.5 kB / 0.6912 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.3794, allocations: 234.4 kB / 0.6914 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.3797, allocations: 493.5 kB / 0.6919 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009883/0.3807, allocations: 1.155 MB / 0.693 GB, free: 12.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3807, allocations: 0.5 kB / 0.693 GB, free: 12.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3807, allocations: 0 / 0.693 GB, free: 12.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.3808, allocations: 1.938 kB / 0.693 GB, free: 12.18 MB / 494.1 MB 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.002113/0.3829, allocations: 1.392 MB / 0.6944 GB, free: 11.44 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3829, allocations: 10.94 kB / 0.6944 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.3831, allocations: 125.1 kB / 0.6945 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.3843, allocations: 0.7631 MB / 0.6952 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-05/0.3844, allocations: 84.33 kB / 0.6953 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.915e-05/0.3845, allocations: 70.98 kB / 0.6954 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.3857, allocations: 0.7377 MB / 0.6961 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.3857, allocations: 0 / 0.6961 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.3858, allocations: 27.84 kB / 0.6961 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.3858, allocations: 15.69 kB / 0.6962 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.3868, allocations: 0.5159 MB / 0.6967 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.3898, allocations: 2.25 MB / 0.6989 GB, free: 9.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.3912, allocations: 0.6266 MB / 0.6995 GB, free: 8.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.3917, allocations: 280.6 kB / 0.6997 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.094e-05/0.3917, allocations: 7.406 kB / 0.6997 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005821/0.3923, allocations: 325.5 kB / 0.7001 GB, free: 8.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 2.514e-06/0.3923, allocations: 1 kB / 0.7001 GB, free: 8.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=60): time 0.001523/0.3939, allocations: 0.7539 MB / 0.7008 GB, free: 8.207 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.3939, allocations: 84.12 kB / 0.7009 GB, free: 8.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.3948, allocations: 0.7562 MB / 0.7016 GB, free: 7.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.3948, allocations: 37.83 kB / 0.7016 GB, free: 7.754 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.3951, allocations: 444.5 kB / 0.7021 GB, free: 7.406 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.3952, allocations: 209.2 kB / 0.7023 GB, free: 7.246 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.3954, allocations: 106.5 kB / 0.7024 GB, free: 7.188 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.3955, allocations: 334.9 kB / 0.7027 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/0.3961, allocations: 207.5 kB / 0.7029 GB, free: 6.789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.3966, allocations: 304.5 kB / 0.7032 GB, free: 6.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008913/0.3976, allocations: 0.5108 MB / 0.7037 GB, free: 6.336 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3976, allocations: 0 / 0.7037 GB, free: 6.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001165/0.3987, allocations: 0.6559 MB / 0.7043 GB, free: 6.062 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3988, allocations: 6.984 kB / 0.7043 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3988, allocations: 1.812 kB / 0.7043 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3988, allocations: 5.656 kB / 0.7043 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.3995, allocations: 145.2 kB / 0.7045 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.3995, allocations: 6.438 kB / 0.7045 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.3999, allocations: 77.77 kB / 0.7046 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.3999, allocations: 19.81 kB / 0.7046 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005601/0.4005, allocations: 359.3 kB / 0.7049 GB, free: 5.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004513/0.401, allocations: 293.1 kB / 0.7052 GB, free: 5.625 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007967/0.4018, allocations: 499 kB / 0.7057 GB, free: 5.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.4018, allocations: 1.406 kB / 0.7057 GB, free: 5.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.00109/0.4029, allocations: 0.632 MB / 0.7063 GB, free: 5.078 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.4029, allocations: 5.969 kB / 0.7063 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4029, allocations: 4.016 kB / 0.7063 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.172e-06/0.4029, allocations: 4.062 kB / 0.7063 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.4035, allocations: 144.5 kB / 0.7064 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.4036, allocations: 15.47 kB / 0.7065 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.4039, allocations: 51.27 kB / 0.7065 GB, free: 5.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.404, allocations: 25.11 kB / 0.7065 GB, free: 5.031 MB / 494.1 MB 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.0001195/0.4041, allocations: 216.4 kB / 0.7067 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.4042, allocations: 90.81 kB / 0.7068 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.4044, allocations: 103 kB / 0.7069 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.4044, allocations: 9.812 kB / 0.7069 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.4045, allocations: 1.219 kB / 0.7069 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4045, allocations: 7.359 kB / 0.7069 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.4065, allocations: 1.434 MB / 0.7083 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4066, allocations: 4 kB / 0.7083 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.4071, allocations: 104.2 kB / 0.7084 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.4071, allocations: 6.312 kB / 0.7084 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.4072, allocations: 14.22 kB / 0.7085 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4072, allocations: 2.656 kB / 0.7085 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4072, allocations: 0 / 0.7085 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.4088, allocations: 0.959 MB / 0.7094 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.409, allocations: 224 kB / 0.7096 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.316e-05/0.4091, allocations: 16.92 kB / 0.7096 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.4096, allocations: 39.64 kB / 0.7097 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.4097, allocations: 35.48 kB / 0.7097 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.4097, allocations: 17.48 kB / 0.7097 GB, free: 3.258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005574/0.4103, allocations: 0.517 MB / 0.7102 GB, free: 3.043 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4103, allocations: 0 / 0.7102 GB, free: 3.043 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006451/0.4109, allocations: 274.9 kB / 0.7105 GB, free: 2.969 MB / 494.1 MB 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.0001096/0.411, allocations: 123.6 kB / 0.7106 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.4125, allocations: 0.7961 MB / 0.7114 GB, free: 2.617 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4125, allocations: 1.281 kB / 0.7114 GB, free: 2.617 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004766/0.413, allocations: 264.1 kB / 0.7116 GB, free: 2.547 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.414, allocations: 274.3 kB / 0.7119 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.4161, allocations: 1.539 MB / 0.7134 GB, free: 1.625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.4166, allocations: 0.9941 MB / 0.7144 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004336/0.417, allocations: 119 kB / 0.7145 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.4172, allocations: 63.25 kB / 0.7145 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4172, allocations: 4 kB / 0.7145 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of Templates: time 0.01571/0.4329, allocations: 9.257 MB / 0.7236 GB, free: 14.11 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)