Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.67/2.67, allocations: 287.5 MB / 302.4 MB, free: 8.316 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.001399/0.001399, allocations: 178 kB / 371 MB, free: 10.86 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.193/2.193, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008852/0.0008849, allocations: 85.09 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006723/0.0006727, allocations: 18.22 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2239, allocations: 115.3 MB / 0.9783 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005125/0.229, allocations: 3.684 MB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004131/0.2332, allocations: 1.536 MB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009868/0.2343, allocations: 35.81 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000481/0.2348, allocations: 118.8 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009576/0.2358, allocations: 170.8 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.2379, allocations: 0.5237 MB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001879/0.2398, allocations: 1.05 MB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007909/0.2406, allocations: 351.4 kB / 0.9856 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007371/0.2414, allocations: 338 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004684/0.2419, allocations: 333.8 kB / 0.9863 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.2421, allocations: 24 kB / 0.9863 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.2422, allocations: 32 kB / 0.9863 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.2424, allocations: 139.2 kB / 0.9864 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.2425, allocations: 173.1 kB / 0.9866 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009362/0.2435, allocations: 0.8107 MB / 0.9874 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2435, allocations: 0 / 0.9874 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2435, allocations: 4 kB / 0.9874 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.485e-05/0.2436, allocations: 0 / 0.9874 GB, free: 19.06 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003259/0.2468, allocations: 1.247 MB / 0.9886 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2469, allocations: 12.02 kB / 0.9886 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.2472, allocations: 122.5 kB / 0.9888 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.2489, allocations: 0.7151 MB / 0.9894 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.2491, allocations: 79.7 kB / 0.9895 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.2492, allocations: 68 kB / 0.9896 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.2511, allocations: 0.7367 MB / 0.9903 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.2512, allocations: 4 kB / 0.9903 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-05/0.2513, allocations: 28 kB / 0.9903 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.2513, allocations: 20 kB / 0.9904 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.2531, allocations: 0.5321 MB / 0.9909 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005329/0.2585, allocations: 2.29 MB / 0.9931 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.2608, allocations: 0.6364 MB / 0.9937 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008558/0.2617, allocations: 283.8 kB / 0.994 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.831e-05/0.2618, allocations: 8.547 kB / 0.994 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.2628, allocations: 331 kB / 0.9943 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 4.9e-06/0.2628, allocations: 0 / 0.9943 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.002639/0.2655, allocations: 0.7715 MB / 0.9951 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.2656, allocations: 81.67 kB / 0.9952 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.2668, allocations: 0.752 MB / 0.9959 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.267, allocations: 45.7 kB / 0.9959 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.2674, allocations: 440.5 kB / 0.9964 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.2676, allocations: 205 kB / 0.9966 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.2676, allocations: 12 kB / 0.9966 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8e-05/0.2677, allocations: 330 kB / 0.9969 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.2685, allocations: 205.2 kB / 0.9971 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000816/0.2693, allocations: 312.4 kB / 0.9974 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008377/0.2702, allocations: 234.2 kB / 0.9976 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2702, allocations: 0 / 0.9976 GB, free: 8.281 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002052/0.2723, allocations: 0.6656 MB / 0.9982 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.985e-05/0.2724, allocations: 156.7 kB / 0.9984 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.2724, allocations: 4 kB / 0.9984 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.2725, allocations: 8 kB / 0.9984 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.2737, allocations: 151.7 kB / 0.9986 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.2738, allocations: 8 kB / 0.9986 GB, free: 7.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008231/0.2746, allocations: 71.34 kB / 0.9986 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.2747, allocations: 24 kB / 0.9987 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2747, allocations: 4 kB / 0.9987 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001613/0.2763, allocations: 0.5247 MB / 0.9992 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2763, allocations: 4 kB / 0.9992 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2764, allocations: 4 kB / 0.9992 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.2775, allocations: 139.8 kB / 0.9993 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.2776, allocations: 7.984 kB / 0.9993 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007989/0.2784, allocations: 63.42 kB / 0.9994 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.2785, allocations: 28.06 kB / 0.9994 GB, free: 6.391 MB / 0.6198 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,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005404/0.279, allocations: 300.9 kB / 0.9997 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.2792, allocations: 90.88 kB / 0.9998 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.2795, allocations: 105.3 kB / 0.9999 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.2795, allocations: 4 kB / 0.9999 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.2795, allocations: 0 / 0.9999 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.2795, allocations: 3.984 kB / 0.9999 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.2828, allocations: 1.466 MB / 1.001 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.2828, allocations: 0 / 1.001 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.2839, allocations: 111.8 kB / 1.001 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.284, allocations: 4.094 kB / 1.001 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/0.284, allocations: 15.98 kB / 1.001 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.284, allocations: 0 / 1.001 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2841, allocations: 3.984 kB / 1.001 GB, free: 4.234 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002765/0.2868, allocations: 0.9825 MB / 1.002 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004331/0.2873, allocations: 223.7 kB / 1.003 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.2875, allocations: 16 kB / 1.003 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/0.2882, allocations: 39.97 kB / 1.003 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.2884, allocations: 32.52 kB / 1.003 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-05/0.2884, allocations: 19.98 kB / 1.003 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008971/0.2894, allocations: 0.5109 MB / 1.003 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.01e-07/0.2894, allocations: 0 / 1.003 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001097/0.2905, allocations: 271.1 kB / 1.003 GB, free: 2.102 MB / 0.6198 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 (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.0001869/0.2907, allocations: 127.1 kB / 1.004 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.2934, allocations: 0.7958 MB / 1.004 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.2934, allocations: 0 / 1.004 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008732/0.2943, allocations: 275.7 kB / 1.005 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.2963, allocations: 234.3 kB / 1.005 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.3009, allocations: 1.831 MB / 1.007 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008108/0.3017, allocations: 0.994 MB / 1.008 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000974/0.3028, allocations: 118.8 kB / 1.008 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.3031, allocations: 59.44 kB / 1.008 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of SimCode: time 1.353e-06/0.3031, allocations: 7.938 kB / 1.008 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.0287/0.3318, allocations: 8.408 MB / 1.016 GB, free: 5.285 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)