Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001107/0.001107, allocations: 103.1 kB / 16.35 MB, free: 6.348 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.001129/0.00113, allocations: 194.7 kB / 17.29 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001424, allocations: 75.19 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2257, allocations: 114.5 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.4295/0.6553, allocations: 4.356 MB / 0.789 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002566/0.6579, allocations: 1.623 MB / 0.7906 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003893/0.6583, allocations: 34.94 kB / 0.7906 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.6587, allocations: 169.9 kB / 0.7908 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005517/0.6592, allocations: 225.5 kB / 0.791 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.6603, allocations: 0.6653 MB / 0.7917 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008706/0.6611, allocations: 1.229 MB / 0.7929 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005945/0.6617, allocations: 0.4953 MB / 0.7933 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.6621, allocations: 471 kB / 0.7938 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003396/0.6625, allocations: 464.9 kB / 0.7942 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.6626, allocations: 104.4 kB / 0.7943 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.6627, allocations: 103.9 kB / 0.7944 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.6629, allocations: 231.6 kB / 0.7946 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.6632, allocations: 494.9 kB / 0.7951 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000703/0.6639, allocations: 1.158 MB / 0.7962 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6639, allocations: 0 / 0.7962 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6639, allocations: 1.125 kB / 0.7963 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.6639, allocations: 0 / 0.7963 GB, free: 45.1 MB / 0.6544 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.002066/0.666, allocations: 1.397 MB / 0.7976 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.666, allocations: 13.5 kB / 0.7976 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.6662, allocations: 123 kB / 0.7977 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.6673, allocations: 0.7323 MB / 0.7985 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.6673, allocations: 85.67 kB / 0.7985 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.004e-05/0.6674, allocations: 73.31 kB / 0.7986 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.6685, allocations: 0.7322 MB / 0.7993 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.6686, allocations: 4 kB / 0.7993 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.6686, allocations: 25.72 kB / 0.7994 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.6686, allocations: 17.38 kB / 0.7994 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009806/0.6696, allocations: 0.5148 MB / 0.7999 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.6727, allocations: 2.252 MB / 0.8021 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.6742, allocations: 0.624 MB / 0.8027 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/0.6747, allocations: 273.4 kB / 0.8029 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.815e-05/0.6747, allocations: 11.17 kB / 0.803 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007027/0.6754, allocations: 322.3 kB / 0.8033 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.945e-06/0.6755, allocations: 1.688 kB / 0.8033 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.001664/0.6771, allocations: 0.7552 MB / 0.804 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.6772, allocations: 85.52 kB / 0.8041 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/0.6781, allocations: 0.7629 MB / 0.8048 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.6782, allocations: 37.41 kB / 0.8049 GB, free: 40.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.6785, allocations: 440.6 kB / 0.8053 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.6786, allocations: 211.4 kB / 0.8055 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.6788, allocations: 110.2 kB / 0.8056 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.6789, allocations: 331.6 kB / 0.8059 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.6794, allocations: 207.4 kB / 0.8061 GB, free: 39.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/0.6799, allocations: 309.9 kB / 0.8064 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/0.6808, allocations: 0.5017 MB / 0.8069 GB, free: 38.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6809, allocations: 4.594 kB / 0.8069 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001336/0.6822, allocations: 0.6543 MB / 0.8075 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.6822, allocations: 12.89 kB / 0.8075 GB, free: 38.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.6823, allocations: 1.938 kB / 0.8075 GB, free: 38.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.6823, allocations: 5.375 kB / 0.8076 GB, free: 38.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/0.683, allocations: 143.6 kB / 0.8077 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/0.683, allocations: 9.781 kB / 0.8077 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.6835, allocations: 68.06 kB / 0.8078 GB, free: 38.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.6835, allocations: 21.41 kB / 0.8078 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006195/0.6842, allocations: 358.2 kB / 0.8081 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004956/0.6847, allocations: 294.8 kB / 0.8084 GB, free: 38.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008691/0.6855, allocations: 0.4887 MB / 0.8089 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.806e-06/0.6855, allocations: 0.7812 kB / 0.8089 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001135/0.6867, allocations: 0.6313 MB / 0.8095 GB, free: 37.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.6867, allocations: 10.42 kB / 0.8095 GB, free: 37.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6867, allocations: 2.625 kB / 0.8095 GB, free: 37.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/0.6867, allocations: 4.125 kB / 0.8095 GB, free: 37.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/0.6873, allocations: 139.6 kB / 0.8097 GB, free: 37.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.6874, allocations: 9.906 kB / 0.8097 GB, free: 37.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.6878, allocations: 59.72 kB / 0.8097 GB, free: 37.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.6878, allocations: 24.25 kB / 0.8097 GB, free: 37.58 MB / 0.6544 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.0001522/0.688, allocations: 214.6 kB / 0.8099 GB, free: 37.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.6881, allocations: 97.11 kB / 0.81 GB, free: 37.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.6883, allocations: 105.7 kB / 0.8101 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.6883, allocations: 8.812 kB / 0.8101 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.6883, allocations: 8.547 kB / 0.8102 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.6883, allocations: 4.141 kB / 0.8102 GB, free: 37.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.6907, allocations: 1.429 MB / 0.8116 GB, free: 36.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6907, allocations: 0 / 0.8116 GB, free: 36.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/0.6912, allocations: 110.5 kB / 0.8117 GB, free: 36.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.6913, allocations: 3.484 kB / 0.8117 GB, free: 36.49 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.6913, allocations: 13.73 kB / 0.8117 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.6913, allocations: 4.938 kB / 0.8117 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6913, allocations: 1.094 kB / 0.8117 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.693, allocations: 0.9662 MB / 0.8126 GB, free: 35.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.6932, allocations: 220.3 kB / 0.8128 GB, free: 35.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.665e-05/0.6933, allocations: 12.47 kB / 0.8128 GB, free: 35.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.6937, allocations: 36.92 kB / 0.8129 GB, free: 35.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6939, allocations: 33.56 kB / 0.8129 GB, free: 35.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.6939, allocations: 20.16 kB / 0.8129 GB, free: 35.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000647/0.6946, allocations: 0.5214 MB / 0.8134 GB, free: 35.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6946, allocations: 1.375 kB / 0.8134 GB, free: 35.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000759/0.6953, allocations: 273.6 kB / 0.8137 GB, free: 35.47 MB / 0.6544 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.0001254/0.6955, allocations: 114.2 kB / 0.8138 GB, free: 35.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.6971, allocations: 0.8065 MB / 0.8146 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6971, allocations: 1.156 kB / 0.8146 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.6976, allocations: 269 kB / 0.8149 GB, free: 35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.6987, allocations: 270 kB / 0.8151 GB, free: 34.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.7011, allocations: 1.545 MB / 0.8166 GB, free: 34.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.7017, allocations: 0.9933 MB / 0.8176 GB, free: 33.39 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004832/0.7022, allocations: 119.5 kB / 0.8177 GB, free: 33.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.7024, allocations: 64.19 kB / 0.8178 GB, free: 33.36 MB / 0.6544 GB Notification: Performance of SimCode: time 4.2e-07/0.7024, allocations: 4 kB / 0.8178 GB, free: 33.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.0224/0.7248, allocations: 9.266 MB / 0.8268 GB, free: 32.85 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)