Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001345/0.001346, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.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.666/1.666, allocations: 292.5 MB / 0.5497 GB, free: 14.59 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.0004669/0.0004669, allocations: 19.22 kB / 0.6736 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2077, allocations: 116.3 MB / 0.7871 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002113/0.2098, allocations: 1.68 MB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001844/0.2117, allocations: 1.589 MB / 0.7903 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.2119, allocations: 8 kB / 0.7903 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.589e-05/0.212, allocations: 35.53 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.2123, allocations: 99.66 kB / 0.7905 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.213, allocations: 314.5 kB / 0.7908 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005017/0.2135, allocations: 429.2 kB / 0.7912 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003164/0.2138, allocations: 234.6 kB / 0.7914 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.214, allocations: 199.1 kB / 0.7916 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.2142, allocations: 210.8 kB / 0.7918 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.2143, allocations: 20 kB / 0.7918 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.803e-05/0.2144, allocations: 39.98 kB / 0.7918 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.2145, allocations: 79.59 kB / 0.7919 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.2146, allocations: 121.3 kB / 0.792 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.2151, allocations: 0.6625 MB / 0.7927 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.2151, allocations: 4 kB / 0.7927 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2151, allocations: 0 / 0.7927 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.2151, allocations: 4 kB / 0.7927 GB, free: 6.207 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001262/0.2164, allocations: 0.8813 MB / 0.7936 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2164, allocations: 12.03 kB / 0.7936 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.2165, allocations: 71.16 kB / 0.7936 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.2171, allocations: 433.8 kB / 0.794 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.2171, allocations: 44.94 kB / 0.7941 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.202e-05/0.2172, allocations: 59.98 kB / 0.7941 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.218, allocations: 0.495 MB / 0.7946 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.218, allocations: 0 / 0.7946 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.218, allocations: 20 kB / 0.7946 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.218, allocations: 12 kB / 0.7947 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006415/0.2187, allocations: 351.8 kB / 0.795 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.2209, allocations: 1.582 MB / 0.7965 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009964/0.2219, allocations: 0.91 MB / 0.7974 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.222, allocations: 4 kB / 0.7974 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004885/0.2225, allocations: 260.9 kB / 0.7977 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 1.863e-06/0.2225, allocations: 0 / 0.7977 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47): time 0.001011/0.2235, allocations: 0.5571 MB / 0.7982 GB, free: 228 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.2236, allocations: 107.2 kB / 0.7983 GB, free: 96 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.224, allocations: 413.9 kB / 0.7987 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.2241, allocations: 37.7 kB / 0.7988 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.2242, allocations: 265 kB / 0.799 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.2244, allocations: 153.8 kB / 0.7992 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.2244, allocations: 12 kB / 0.7992 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2245, allocations: 358.8 kB / 0.7995 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.2249, allocations: 197 kB / 0.7997 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.2253, allocations: 283.4 kB / 0.8 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.2258, allocations: 272.2 kB / 0.8002 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2258, allocations: 0 / 0.8002 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009699/0.2267, allocations: 0.6315 MB / 0.8008 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002591/0.227, allocations: 0.6799 MB / 0.8015 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.227, allocations: 4 kB / 0.8015 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.227, allocations: 4 kB / 0.8015 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.2274, allocations: 91.83 kB / 0.8016 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2274, allocations: 3.938 kB / 0.8016 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.2279, allocations: 139.4 kB / 0.8017 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.228, allocations: 31.98 kB / 0.8018 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.228, allocations: 4 kB / 0.8018 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007449/0.2288, allocations: 0.5289 MB / 0.8023 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.2288, allocations: 0 / 0.8023 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.2288, allocations: 4 kB / 0.8023 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.229, allocations: 84 kB / 0.8024 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2291, allocations: 4 kB / 0.8024 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.2295, allocations: 119.5 kB / 0.8025 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.2296, allocations: 23.98 kB / 0.8025 GB, free: 11.64 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002194/0.2298, allocations: 257 kB / 0.8028 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.2299, allocations: 55.36 kB / 0.8028 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.411e-05/0.23, allocations: 49.19 kB / 0.8029 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.23, allocations: 8 kB / 0.8029 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.23, allocations: 4 kB / 0.8029 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.23, allocations: 7.938 kB / 0.8029 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.2314, allocations: 1.084 MB / 0.8039 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2314, allocations: 0 / 0.8039 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.2317, allocations: 75.91 kB / 0.804 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.2317, allocations: 0 / 0.804 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.2318, allocations: 19.94 kB / 0.804 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2318, allocations: 4 kB / 0.804 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2318, allocations: 0 / 0.804 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009863/0.2328, allocations: 0.709 MB / 0.8047 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.2329, allocations: 132.4 kB / 0.8049 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.2329, allocations: 8 kB / 0.8049 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.2331, allocations: 35.94 kB / 0.8049 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.2332, allocations: 28.39 kB / 0.8049 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.2332, allocations: 12 kB / 0.8049 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002798/0.2335, allocations: 291.1 kB / 0.8052 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2335, allocations: 0 / 0.8052 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005355/0.2341, allocations: 215.2 kB / 0.8054 GB, free: 8.57 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 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.2342, allocations: 130.2 kB / 0.8055 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.2355, allocations: 0.95 MB / 0.8065 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2355, allocations: 0 / 0.8065 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.2358, allocations: 206.4 kB / 0.8067 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.2363, allocations: 86.06 kB / 0.8067 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.2376, allocations: 1.109 MB / 0.8078 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.238, allocations: 0.8749 MB / 0.8087 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.2382, allocations: 63.73 kB / 0.8087 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.2383, allocations: 35.44 kB / 0.8088 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.2383, allocations: 0 / 0.8088 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of Templates: time 0.01005/0.2483, allocations: 6.472 MB / 0.8151 GB, free: 14.6 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1) Environment - environmentSimulation: