Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.385/2.385, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001426, allocations: 187.7 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.618/2.618, allocations: 205.4 MB / 0.5767 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 88.62 kB / 0.6812 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006472/0.0006473, allocations: 15.09 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2267, allocations: 106.3 MB / 0.8991 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput): time 0.005203/0.232, allocations: 2.304 MB / 0.9013 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003246/0.2353, allocations: 0.8665 MB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006639/0.236, allocations: 8 kB / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004443/0.2365, allocations: 63.39 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005791/0.2371, allocations: 47.64 kB / 0.9023 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007476/0.2379, allocations: 115.8 kB / 0.9024 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.2391, allocations: 472.8 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008183/0.24, allocations: 227.4 kB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.2404, allocations: 115.2 kB / 0.9032 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.2408, allocations: 139.1 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-05/0.2409, allocations: 16 kB / 0.9033 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.984e-05/0.241, allocations: 12 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.041e-05/0.2411, allocations: 59.64 kB / 0.9034 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.2412, allocations: 85.45 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007217/0.2419, allocations: 443 kB / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.242, allocations: 0 / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.735e-06/0.242, allocations: 4 kB / 0.9039 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.242, allocations: 0 / 0.9039 GB, free: 60.38 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002404/0.2444, allocations: 0.7133 MB / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.2445, allocations: 8.031 kB / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.2448, allocations: 56.28 kB / 0.9046 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009428/0.2457, allocations: 368.9 kB / 0.905 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.2458, allocations: 25.38 kB / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.246, allocations: 36.38 kB / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.2474, allocations: 400.3 kB / 0.9054 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.2475, allocations: 0 / 0.9054 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/0.2476, allocations: 19.98 kB / 0.9055 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.2477, allocations: 12 kB / 0.9055 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.2491, allocations: 282.4 kB / 0.9057 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0046/0.2538, allocations: 1.506 MB / 0.9072 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.2556, allocations: 278.8 kB / 0.9075 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000634/0.2563, allocations: 130.2 kB / 0.9076 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.258e-05/0.2564, allocations: 0 / 0.9076 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.2564, allocations: 42.5 kB / 0.9076 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 3.307e-06/0.2564, allocations: 0 / 0.9076 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001712/0.2582, allocations: 322.9 kB / 0.9079 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.459e-05/0.2583, allocations: 106.8 kB / 0.9081 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/0.2593, allocations: 429.9 kB / 0.9085 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-05/0.2594, allocations: 29.7 kB / 0.9085 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.2597, allocations: 255.9 kB / 0.9087 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.2599, allocations: 70.98 kB / 0.9088 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.2599, allocations: 8 kB / 0.9088 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2601, allocations: 358.7 kB / 0.9092 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006542/0.2607, allocations: 99.95 kB / 0.9092 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007022/0.2615, allocations: 200.2 kB / 0.9094 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.2622, allocations: 127.9 kB / 0.9096 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.2622, allocations: 0 / 0.9096 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001647/0.2639, allocations: 351.2 kB / 0.9099 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-05/0.2641, allocations: 133.5 kB / 0.91 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.2641, allocations: 0 / 0.91 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.2641, allocations: 4 kB / 0.91 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008201/0.265, allocations: 71.84 kB / 0.9101 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.265, allocations: 4 kB / 0.9101 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006809/0.2657, allocations: 63.56 kB / 0.9102 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.2658, allocations: 15.94 kB / 0.9102 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2658, allocations: 4 kB / 0.9102 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008539/0.2667, allocations: 230.5 kB / 0.9104 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2667, allocations: 4.125 kB / 0.9104 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2668, allocations: 4 kB / 0.9104 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/0.2674, allocations: 55.91 kB / 0.9105 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2674, allocations: 0 / 0.9105 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005407/0.268, allocations: 47.67 kB / 0.9105 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.2681, allocations: 4 kB / 0.9105 GB, free: 53.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0003771/0.2684, allocations: 237 kB / 0.9107 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.2686, allocations: 43.53 kB / 0.9108 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.2688, allocations: 39.8 kB / 0.9108 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.2688, allocations: 0 / 0.9108 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.2688, allocations: 0 / 0.9108 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.2688, allocations: 3.984 kB / 0.9108 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.2716, allocations: 0.7823 MB / 0.9116 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.2717, allocations: 0 / 0.9116 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.2723, allocations: 56.03 kB / 0.9116 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.2723, allocations: 7.969 kB / 0.9116 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.2724, allocations: 4 kB / 0.9116 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.2724, allocations: 3.938 kB / 0.9116 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.2724, allocations: 4 kB / 0.9117 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.2742, allocations: 478.3 kB / 0.9121 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.2744, allocations: 128.5 kB / 0.9122 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.2745, allocations: 11.94 kB / 0.9122 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/0.2751, allocations: 19.98 kB / 0.9123 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.2752, allocations: 19.98 kB / 0.9123 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.2752, allocations: 4 kB / 0.9123 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006897/0.2759, allocations: 303.1 kB / 0.9126 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.72e-07/0.2759, allocations: 0 / 0.9126 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001031/0.277, allocations: 115.7 kB / 0.9127 GB, free: 50.92 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0002261/0.2773, allocations: 115.1 kB / 0.9128 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.279, allocations: 370.4 kB / 0.9131 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/0.2791, allocations: 3.938 kB / 0.9132 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.2797, allocations: 99.83 kB / 0.9132 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.2812, allocations: 93.72 kB / 0.9133 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.2843, allocations: 0.8347 MB / 0.9142 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.2848, allocations: 0.8079 MB / 0.9149 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004347/0.2853, allocations: 43.27 kB / 0.915 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.2855, allocations: 39.42 kB / 0.915 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of SimCode: time 1.272e-06/0.2855, allocations: 0 / 0.915 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.01626/0.3017, allocations: 3.447 MB / 0.9184 GB, free: 45.05 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialDerivativeOutput.pipe 2>&1)