Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.94/2.94, allocations: 287.3 MB / 302.3 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001597, allocations: 178.9 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.745/2.745, allocations: 205.4 MB / 0.6295 GB, free: 10.66 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00173/0.00173, allocations: 94.84 kB / 0.7428 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007544/0.0007548, allocations: 21.62 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.24, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002601/0.2427, allocations: 1.676 MB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002982/0.2457, allocations: 1.596 MB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.2462, allocations: 8 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.2463, allocations: 39.52 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005091/0.2468, allocations: 91.67 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.248, allocations: 321.3 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008591/0.2488, allocations: 425.2 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004588/0.2493, allocations: 238.6 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.2496, allocations: 199.1 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.2499, allocations: 214.8 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.988e-05/0.25, allocations: 24 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.2502, allocations: 43.86 kB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.2503, allocations: 79.61 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2504, allocations: 117.4 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007411/0.2512, allocations: 0.6625 MB / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2512, allocations: 0 / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2512, allocations: 0 / 0.9838 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.2512, allocations: 4 kB / 0.9838 GB, free: 22.67 MB / 0.6198 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.002021/0.2533, allocations: 0.8814 MB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.2533, allocations: 8.031 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.2536, allocations: 79.14 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007535/0.2543, allocations: 429.8 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.2544, allocations: 41 kB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.2545, allocations: 59.94 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.2558, allocations: 0.4911 MB / 0.9857 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.2558, allocations: 0 / 0.9857 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.441e-05/0.2559, allocations: 20 kB / 0.9857 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.2559, allocations: 12 kB / 0.9857 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.257, allocations: 363.7 kB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003354/0.2604, allocations: 1.582 MB / 0.9876 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.2617, allocations: 0.8949 MB / 0.9885 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.2618, allocations: 4 kB / 0.9885 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007037/0.2625, allocations: 264.9 kB / 0.9888 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 3.136e-06/0.2625, allocations: 0 / 0.9888 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.001683/0.2642, allocations: 0.5532 MB / 0.9893 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.2643, allocations: 111.2 kB / 0.9894 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/0.2649, allocations: 409.9 kB / 0.9898 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.265, allocations: 41.7 kB / 0.9898 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.2652, allocations: 265 kB / 0.9901 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.2654, allocations: 145.8 kB / 0.9902 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.2654, allocations: 12 kB / 0.9902 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2656, allocations: 362.8 kB / 0.9906 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006324/0.2662, allocations: 193 kB / 0.9908 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006909/0.2669, allocations: 291.4 kB / 0.991 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.2676, allocations: 268.1 kB / 0.9913 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.2676, allocations: 4 kB / 0.9913 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00172/0.2694, allocations: 0.6277 MB / 0.9919 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002342/0.2696, allocations: 0.6799 MB / 0.9926 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.2697, allocations: 0 / 0.9926 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.2697, allocations: 7.984 kB / 0.9926 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.2704, allocations: 91.83 kB / 0.9927 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.2704, allocations: 4 kB / 0.9927 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.2714, allocations: 143.4 kB / 0.9928 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.2715, allocations: 23.94 kB / 0.9928 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2716, allocations: 4 kB / 0.9928 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001282/0.2728, allocations: 0.5329 MB / 0.9934 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2729, allocations: 4.047 kB / 0.9934 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2729, allocations: 7.984 kB / 0.9934 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.2734, allocations: 67.91 kB / 0.9934 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2735, allocations: 8.109 kB / 0.9934 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009711/0.2744, allocations: 130 kB / 0.9936 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.2745, allocations: 20 kB / 0.9936 GB, free: 12.11 MB / 0.6198 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.0004027/0.275, allocations: 265 kB / 0.9938 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2751, allocations: 43.44 kB / 0.9939 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.2752, allocations: 53.19 kB / 0.9939 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.2752, allocations: 4 kB / 0.9939 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.2752, allocations: 3.953 kB / 0.9939 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.2753, allocations: 7.984 kB / 0.9939 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.2774, allocations: 1.087 MB / 0.995 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.321e-06/0.2774, allocations: 4 kB / 0.995 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006885/0.2781, allocations: 71.89 kB / 0.9951 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.2782, allocations: 7.953 kB / 0.9951 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.2782, allocations: 12 kB / 0.9951 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.2782, allocations: 4 kB / 0.9951 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2782, allocations: 0 / 0.9951 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.28, allocations: 0.7129 MB / 0.9958 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.2801, allocations: 128.4 kB / 0.9959 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.032e-05/0.2803, allocations: 15.95 kB / 0.9959 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.2806, allocations: 31.97 kB / 0.996 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.2807, allocations: 24.41 kB / 0.996 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.2808, allocations: 19.98 kB / 0.996 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004238/0.2812, allocations: 283.2 kB / 0.9963 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2812, allocations: 0 / 0.9963 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009845/0.2822, allocations: 223.2 kB / 0.9965 GB, free: 9.02 MB / 0.6198 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.0002557/0.2825, allocations: 125.2 kB / 0.9966 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002217/0.2847, allocations: 0.9503 MB / 0.9975 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.2848, allocations: 3.938 kB / 0.9975 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.2854, allocations: 198.4 kB / 0.9977 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/0.2863, allocations: 92.45 kB / 0.9978 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.2885, allocations: 1.108 MB / 0.9989 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.2889, allocations: 0.8671 MB / 0.9998 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003788/0.2893, allocations: 59.61 kB / 0.9998 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.2895, allocations: 39.42 kB / 0.9998 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of SimCode: time 1.473e-06/0.2895, allocations: 3.938 kB / 0.9998 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of Templates: time 0.01922/0.3087, allocations: 6.481 MB / 1.006 GB, free: 15.05 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)