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.001307/0.001307, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001424/0.001424, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002576/0.002576, allocations: 283.1 kB / 290.4 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.507 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 108.1 kB / 0.6059 GB, free: 25.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.158, allocations: 89.14 MB / 0.693 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.005958/0.164, allocations: 4.34 MB / 0.6972 GB, free: 396 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003046/0.1671, allocations: 1.554 MB / 0.6987 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004699/0.1676, allocations: 31.88 kB / 0.6988 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004006/0.168, allocations: 124.5 kB / 0.6989 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006111/0.1686, allocations: 178.8 kB / 0.699 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.17, allocations: 0.6173 MB / 0.6996 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001315/0.1713, allocations: 1.222 MB / 0.7008 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007461/0.172, allocations: 0.4965 MB / 0.7013 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005866/0.1726, allocations: 473.8 kB / 0.7018 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.1731, allocations: 457.5 kB / 0.7022 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.1733, allocations: 104 kB / 0.7023 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1734, allocations: 107.9 kB / 0.7024 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.1737, allocations: 231.1 kB / 0.7026 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004269/0.1741, allocations: 489 kB / 0.7031 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.1752, allocations: 1.113 MB / 0.7042 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1752, allocations: 0 / 0.7042 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1752, allocations: 0 / 0.7042 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.1752, allocations: 0 / 0.7042 GB, free: 9.211 MB / 0.4981 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.002456/0.1777, allocations: 1.399 MB / 0.7056 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1777, allocations: 12.03 kB / 0.7056 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.1779, allocations: 123.5 kB / 0.7057 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.1791, allocations: 0.7275 MB / 0.7064 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.1793, allocations: 80.27 kB / 0.7065 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.1794, allocations: 68.38 kB / 0.7065 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.1808, allocations: 0.729 MB / 0.7072 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1808, allocations: 3.938 kB / 0.7072 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.229e-05/0.1809, allocations: 35.98 kB / 0.7073 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.1809, allocations: 20 kB / 0.7073 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.1821, allocations: 0.5126 MB / 0.7078 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/0.1856, allocations: 2.278 MB / 0.71 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.1871, allocations: 0.6234 MB / 0.7106 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/0.1877, allocations: 271.1 kB / 0.7109 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.735e-05/0.1877, allocations: 16.53 kB / 0.7109 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007632/0.1885, allocations: 327 kB / 0.7112 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.174e-06/0.1885, allocations: 0 / 0.7112 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001731/0.1903, allocations: 0.7516 MB / 0.712 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.1903, allocations: 89.66 kB / 0.712 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009727/0.1913, allocations: 0.7517 MB / 0.7128 GB, free: 160 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.1914, allocations: 37.7 kB / 0.7128 GB, free: 116 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.1918, allocations: 440.5 kB / 0.7132 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.192, allocations: 208.9 kB / 0.7134 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.1922, allocations: 114.2 kB / 0.7135 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1924, allocations: 326 kB / 0.7139 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.1929, allocations: 211.4 kB / 0.7141 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.1935, allocations: 304.5 kB / 0.7143 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.1945, allocations: 0.5036 MB / 0.7148 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1945, allocations: 4 kB / 0.7148 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001319/0.1958, allocations: 0.6425 MB / 0.7155 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1959, allocations: 12 kB / 0.7155 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1959, allocations: 4 kB / 0.7155 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1959, allocations: 4 kB / 0.7155 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/0.1966, allocations: 147.8 kB / 0.7156 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.1966, allocations: 11.94 kB / 0.7156 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.1971, allocations: 67.34 kB / 0.7157 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.1972, allocations: 23.94 kB / 0.7157 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007098/0.1979, allocations: 362.7 kB / 0.7161 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005183/0.1984, allocations: 284.5 kB / 0.7163 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009471/0.1994, allocations: 0.4918 MB / 0.7168 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.388e-06/0.1994, allocations: 4 kB / 0.7168 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001244/0.2006, allocations: 0.6267 MB / 0.7174 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2007, allocations: 5.562 kB / 0.7174 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2007, allocations: 7.984 kB / 0.7175 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.355e-06/0.2007, allocations: 4 kB / 0.7175 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/0.2013, allocations: 143.8 kB / 0.7176 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.2014, allocations: 4.25 kB / 0.7176 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/0.2018, allocations: 63.45 kB / 0.7177 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.2019, allocations: 24 kB / 0.7177 GB, free: 10.96 MB / 0.5137 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.0002298/0.2021, allocations: 212.1 kB / 0.7179 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.2022, allocations: 98.72 kB / 0.718 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.2025, allocations: 101.2 kB / 0.7181 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2025, allocations: 4 kB / 0.7181 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.2025, allocations: 11.94 kB / 0.7181 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.2025, allocations: 3.984 kB / 0.7181 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.205, allocations: 1.427 MB / 0.7195 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.205, allocations: 0 / 0.7195 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.2056, allocations: 115.8 kB / 0.7196 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.2056, allocations: 4 kB / 0.7196 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-05/0.2057, allocations: 15.98 kB / 0.7196 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.2057, allocations: 4 kB / 0.7196 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2057, allocations: 4 kB / 0.7196 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.2075, allocations: 0.9586 MB / 0.7206 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.2078, allocations: 223.7 kB / 0.7208 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.208, allocations: 15.98 kB / 0.7208 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.2084, allocations: 39.91 kB / 0.7208 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.2085, allocations: 32.52 kB / 0.7209 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.2086, allocations: 19.98 kB / 0.7209 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007352/0.2093, allocations: 0.5185 MB / 0.7214 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2093, allocations: 0 / 0.7214 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007692/0.2101, allocations: 275.1 kB / 0.7216 GB, free: 6.801 MB / 0.5137 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.0001701/0.2103, allocations: 117.2 kB / 0.7218 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001999/0.2123, allocations: 0.8252 MB / 0.7226 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2123, allocations: 0 / 0.7226 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005619/0.2129, allocations: 271.1 kB / 0.7228 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.2141, allocations: 266.4 kB / 0.7231 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.2173, allocations: 1.899 MB / 0.7249 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006771/0.2179, allocations: 0.9977 MB / 0.7259 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005189/0.2185, allocations: 110.9 kB / 0.726 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.2187, allocations: 63.42 kB / 0.7261 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.2187, allocations: 4 kB / 0.7261 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of Templates: time 0.01882/0.2375, allocations: 9.164 MB / 0.735 GB, free: 9.148 MB / 0.5294 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)