Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008947/0.0008947, allocations: 91.28 kB / 15.06 MB, free: 1.078 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.0008245/0.0008245, allocations: 176.7 kB / 15.95 MB, free: 188 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.386/1.386, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.655/1.655, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005126/0.0005128, allocations: 18.06 kB / 0.6737 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.26, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001876/0.2619, allocations: 1.373 MB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2635, allocations: 1.214 MB / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.2636, allocations: 12 kB / 0.7898 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.2638, allocations: 51.5 kB / 0.7899 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.264, allocations: 31.67 kB / 0.7899 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.2642, allocations: 99.89 kB / 0.79 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.2646, allocations: 417.1 kB / 0.7904 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.2649, allocations: 183 kB / 0.7906 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.265, allocations: 111.3 kB / 0.7907 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.2652, allocations: 135.1 kB / 0.7908 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.2652, allocations: 12 kB / 0.7908 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.647e-05/0.2653, allocations: 12 kB / 0.7908 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.2653, allocations: 59.64 kB / 0.7909 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.484e-05/0.2654, allocations: 89.45 kB / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.2658, allocations: 451 kB / 0.7914 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2658, allocations: 0 / 0.7914 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2658, allocations: 0 / 0.7914 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2658, allocations: 0 / 0.7914 GB, free: 7.688 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009482/0.2667, allocations: 0.6899 MB / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2668, allocations: 12.03 kB / 0.7921 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.2669, allocations: 51.34 kB / 0.7922 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.2673, allocations: 363 kB / 0.7925 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.2674, allocations: 33 kB / 0.7925 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/0.2674, allocations: 39.94 kB / 0.7926 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.2681, allocations: 395 kB / 0.7929 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2681, allocations: 0 / 0.7929 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.2681, allocations: 20 kB / 0.793 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2682, allocations: 11.98 kB / 0.793 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.2687, allocations: 283.8 kB / 0.7932 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001804/0.2705, allocations: 1.355 MB / 0.7946 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.271, allocations: 242.8 kB / 0.7948 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.2712, allocations: 112.8 kB / 0.7949 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.2713, allocations: 4 kB / 0.7949 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.2713, allocations: 34.56 kB / 0.7949 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.2713, allocations: 0 / 0.7949 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0006202/0.2719, allocations: 303.8 kB / 0.7952 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.272, allocations: 106.8 kB / 0.7953 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.2724, allocations: 425.5 kB / 0.7957 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.2725, allocations: 25.7 kB / 0.7958 GB, free: 3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.2726, allocations: 255.7 kB / 0.796 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.2727, allocations: 71.08 kB / 0.7961 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.2727, allocations: 4 kB / 0.7961 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2729, allocations: 346.8 kB / 0.7964 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.2731, allocations: 104 kB / 0.7965 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.2734, allocations: 207.5 kB / 0.7967 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.2736, allocations: 135.8 kB / 0.7968 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2736, allocations: 0 / 0.7968 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005788/0.2742, allocations: 356.9 kB / 0.7972 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.2743, allocations: 144 kB / 0.7973 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2743, allocations: 7.953 kB / 0.7973 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2744, allocations: 4 kB / 0.7973 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.2746, allocations: 75.89 kB / 0.7974 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.2747, allocations: 7.938 kB / 0.7974 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.2749, allocations: 51.67 kB / 0.7975 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.2749, allocations: 12 kB / 0.7975 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-06/0.2749, allocations: 6.969 kB / 0.7975 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003302/0.2752, allocations: 239.6 kB / 0.7977 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.2752, allocations: 0 / 0.7977 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.2752, allocations: 4 kB / 0.7977 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.2754, allocations: 55.92 kB / 0.7978 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2754, allocations: 4 kB / 0.7978 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.2756, allocations: 39.89 kB / 0.7978 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.2756, allocations: 20 kB / 0.7978 GB, free: 0.8047 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002169/0.2758, allocations: 241.6 kB / 0.7981 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.2759, allocations: 35.53 kB / 0.7981 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.263e-05/0.276, allocations: 35.61 kB / 0.7981 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.276, allocations: 4 kB / 0.7981 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.276, allocations: 3.938 kB / 0.7981 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.276, allocations: 3.938 kB / 0.7981 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.277, allocations: 0.7146 MB / 0.7988 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.277, allocations: 4.031 kB / 0.7988 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.2772, allocations: 39.97 kB / 0.7989 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2772, allocations: 0 / 0.7989 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.2773, allocations: 8 kB / 0.7989 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2773, allocations: 0 / 0.7989 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2773, allocations: 0 / 0.7989 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006309/0.2779, allocations: 455.2 kB / 0.7993 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.278, allocations: 116.6 kB / 0.7994 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.278, allocations: 11.94 kB / 0.7994 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.2782, allocations: 23.98 kB / 0.7995 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.2782, allocations: 15.94 kB / 0.7995 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.2783, allocations: 4 kB / 0.7995 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002941/0.2786, allocations: 291.2 kB / 0.7998 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2786, allocations: 0 / 0.7998 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004486/0.279, allocations: 127.5 kB / 0.7999 GB, free: 14.58 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (17): * Single equations (assignments): 17 * 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.0001537/0.2792, allocations: 115.2 kB / 0.8 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006257/0.2798, allocations: 363.3 kB / 0.8003 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2798, allocations: 0 / 0.8003 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.28, allocations: 91.89 kB / 0.8004 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.2805, allocations: 65.78 kB / 0.8005 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.2817, allocations: 0.785 MB / 0.8012 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.2821, allocations: 0.8038 MB / 0.802 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001528/0.2823, allocations: 39.25 kB / 0.8021 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.2824, allocations: 27.44 kB / 0.8021 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.2824, allocations: 4 kB / 0.8021 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of Templates: time 0.006818/0.2892, allocations: 3.027 MB / 0.8051 GB, free: 9.238 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) Environment - environmentSimulation: