Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.551/1.551, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 177.5 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007396/0.0007394, allocations: 93.08 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003215, allocations: 12.22 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1891, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.003578/0.1927, allocations: 4.016 MB / 0.9007 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.195, allocations: 1.598 MB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004461/0.1955, allocations: 35.81 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.1958, allocations: 126.8 kB / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005285/0.1964, allocations: 182.8 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.1974, allocations: 0.6139 MB / 0.9031 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008055/0.1982, allocations: 1.144 MB / 0.9043 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005456/0.1988, allocations: 476.2 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.1991, allocations: 349.8 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.1994, allocations: 361.5 kB / 0.9054 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/0.1995, allocations: 24 kB / 0.9054 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.829e-05/0.1995, allocations: 28 kB / 0.9054 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.634e-05/0.1996, allocations: 139.1 kB / 0.9056 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.1999, allocations: 389 kB / 0.9059 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.2004, allocations: 0.8143 MB / 0.9067 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2004, allocations: 0 / 0.9067 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2004, allocations: 0 / 0.9067 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.2004, allocations: 4 kB / 0.9067 GB, free: 57.88 MB / 0.6042 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.001817/0.2022, allocations: 1.24 MB / 0.908 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2023, allocations: 8.031 kB / 0.908 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.2024, allocations: 127.4 kB / 0.9081 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/0.2034, allocations: 0.743 MB / 0.9088 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.8e-05/0.2034, allocations: 84.27 kB / 0.9089 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.2035, allocations: 72.36 kB / 0.909 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.2046, allocations: 0.7446 MB / 0.9097 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2046, allocations: 0 / 0.9097 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/0.2047, allocations: 28 kB / 0.9097 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.2047, allocations: 16 kB / 0.9097 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009357/0.2056, allocations: 0.5282 MB / 0.9102 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.2083, allocations: 2.306 MB / 0.9125 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.2096, allocations: 0.6308 MB / 0.9131 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/0.21, allocations: 278.4 kB / 0.9134 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.175e-05/0.2101, allocations: 8.562 kB / 0.9134 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000595/0.2107, allocations: 327.1 kB / 0.9137 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 2.425e-06/0.2107, allocations: 0 / 0.9137 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.001395/0.2121, allocations: 0.7828 MB / 0.9145 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.2121, allocations: 81.67 kB / 0.9145 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007073/0.2128, allocations: 0.7597 MB / 0.9153 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.2129, allocations: 37.7 kB / 0.9153 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.2131, allocations: 444.5 kB / 0.9157 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.2132, allocations: 208.9 kB / 0.9159 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/0.2133, allocations: 61.67 kB / 0.916 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.205e-05/0.2134, allocations: 330 kB / 0.9163 GB, free: 47.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.2138, allocations: 209.2 kB / 0.9165 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.2142, allocations: 304.5 kB / 0.9168 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008151/0.215, allocations: 0.5308 MB / 0.9173 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2151, allocations: 0 / 0.9173 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001045/0.2161, allocations: 0.6656 MB / 0.918 GB, free: 46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.2162, allocations: 159.2 kB / 0.9181 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2162, allocations: 3.938 kB / 0.9181 GB, free: 45.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.2162, allocations: 12.03 kB / 0.9181 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/0.2168, allocations: 147.8 kB / 0.9183 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.2169, allocations: 11.92 kB / 0.9183 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.2173, allocations: 71.42 kB / 0.9184 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.2173, allocations: 23.98 kB / 0.9184 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/0.2173, allocations: 4 kB / 0.9184 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008417/0.2182, allocations: 0.5207 MB / 0.9189 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2182, allocations: 0 / 0.9189 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.151e-06/0.2182, allocations: 8 kB / 0.9189 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.2187, allocations: 143.8 kB / 0.919 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2188, allocations: 7.938 kB / 0.919 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.2191, allocations: 71.53 kB / 0.9191 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.2192, allocations: 20 kB / 0.9191 GB, free: 44.78 MB / 0.6042 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.0003284/0.2195, allocations: 297.6 kB / 0.9194 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.366e-05/0.2196, allocations: 98.77 kB / 0.9195 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.2198, allocations: 101.3 kB / 0.9196 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.2198, allocations: 8 kB / 0.9196 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2198, allocations: 0 / 0.9196 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2198, allocations: 4 kB / 0.9196 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.2216, allocations: 1.462 MB / 0.921 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2216, allocations: 0 / 0.921 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.2222, allocations: 107.9 kB / 0.9212 GB, free: 42.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.2222, allocations: 4 kB / 0.9212 GB, free: 42.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.2222, allocations: 15.94 kB / 0.9212 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2222, allocations: 4 kB / 0.9212 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2222, allocations: 0 / 0.9212 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.2237, allocations: 0.982 MB / 0.9221 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.2239, allocations: 227.7 kB / 0.9224 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.403e-05/0.224, allocations: 12 kB / 0.9224 GB, free: 41.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/0.2245, allocations: 43.95 kB / 0.9224 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.2246, allocations: 36.52 kB / 0.9224 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.2246, allocations: 19.98 kB / 0.9225 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005242/0.2251, allocations: 0.5148 MB / 0.923 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2251, allocations: 4 kB / 0.923 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006493/0.2258, allocations: 275 kB / 0.9232 GB, free: 40.46 MB / 0.6042 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.0001365/0.2259, allocations: 115.2 kB / 0.9233 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.2274, allocations: 0.8113 MB / 0.9241 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2274, allocations: 0.625 kB / 0.9241 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.2278, allocations: 279.1 kB / 0.9244 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.229, allocations: 248.9 kB / 0.9246 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.2316, allocations: 1.943 MB / 0.9265 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.232, allocations: 0.994 MB / 0.9275 GB, free: 36.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.2322, allocations: 67.42 kB / 0.9276 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of SimCode: time 8.41e-07/0.2322, allocations: 0 / 0.9276 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.01373/0.246, allocations: 10.83 MB / 0.9381 GB, free: 25.18 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)