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.001382/0.001383, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.876/1.876, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001473/0.001474, allocations: 70.16 kB / 0.6715 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3278, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003454/0.3313, allocations: 1.836 MB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3332, allocations: 1.245 MB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.3335, allocations: 15.94 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.3338, allocations: 71.25 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.3341, allocations: 59.39 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.3343, allocations: 163.7 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005278/0.3349, allocations: 485 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003976/0.3353, allocations: 259.1 kB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3354, allocations: 171.3 kB / 0.7876 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.3357, allocations: 202.9 kB / 0.7878 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.3357, allocations: 52 kB / 0.7878 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.858e-05/0.3358, allocations: 52 kB / 0.7878 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.3359, allocations: 119.5 kB / 0.788 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.336, allocations: 206.8 kB / 0.7882 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.3366, allocations: 0.5687 MB / 0.7887 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3366, allocations: 0 / 0.7887 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.639e-06/0.3366, allocations: 0 / 0.7887 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.3366, allocations: 3.938 kB / 0.7887 GB, free: 7.992 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.001223/0.3378, allocations: 0.7484 MB / 0.7895 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.3379, allocations: 8.031 kB / 0.7895 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.753e-05/0.338, allocations: 56.38 kB / 0.7895 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/0.3385, allocations: 368.2 kB / 0.7899 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.3385, allocations: 29.38 kB / 0.7899 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.278e-05/0.3386, allocations: 36.38 kB / 0.7899 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006726/0.3393, allocations: 395.5 kB / 0.7903 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3393, allocations: 4.188 kB / 0.7903 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.3394, allocations: 19.94 kB / 0.7903 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.3394, allocations: 12 kB / 0.7903 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000578/0.34, allocations: 275.8 kB / 0.7906 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002166/0.3421, allocations: 1.327 MB / 0.7919 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/0.3427, allocations: 222.8 kB / 0.7921 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.343, allocations: 111.9 kB / 0.7922 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.343, allocations: 4 kB / 0.7922 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.3431, allocations: 34.55 kB / 0.7923 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.894e-06/0.3431, allocations: 0 / 0.7923 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0007222/0.3438, allocations: 279.8 kB / 0.7925 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.3439, allocations: 110.8 kB / 0.7926 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.3443, allocations: 413.6 kB / 0.793 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.3444, allocations: 29.7 kB / 0.793 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.3446, allocations: 259.7 kB / 0.7933 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.3446, allocations: 63.09 kB / 0.7934 GB, free: 3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-05/0.3447, allocations: 65.61 kB / 0.7934 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3449, allocations: 350.7 kB / 0.7938 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.3451, allocations: 108.8 kB / 0.7939 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.3455, allocations: 195.6 kB / 0.794 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.3459, allocations: 251.5 kB / 0.7943 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.3459, allocations: 3.938 kB / 0.7943 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005985/0.3465, allocations: 352 kB / 0.7946 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.3466, allocations: 8 kB / 0.7946 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3466, allocations: 0 / 0.7946 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.3466, allocations: 4 kB / 0.7946 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.3469, allocations: 71.84 kB / 0.7947 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.3469, allocations: 3.938 kB / 0.7947 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.3471, allocations: 51.59 kB / 0.7948 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.3471, allocations: 16.03 kB / 0.7948 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002287/0.3474, allocations: 196.8 kB / 0.795 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001878/0.3476, allocations: 168.9 kB / 0.7951 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002643/0.3478, allocations: 219.5 kB / 0.7953 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-06/0.3479, allocations: 0 / 0.7953 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003909/0.3482, allocations: 295.8 kB / 0.7956 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.637e-06/0.3483, allocations: 4 kB / 0.7956 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3483, allocations: 4 kB / 0.7956 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-06/0.3483, allocations: 4 kB / 0.7956 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.3485, allocations: 55.91 kB / 0.7957 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3485, allocations: 11.88 kB / 0.7957 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.3487, allocations: 39.95 kB / 0.7957 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.3487, allocations: 12 kB / 0.7957 GB, free: 408 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.3489, allocations: 192.2 kB / 0.7959 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.3489, allocations: 39.52 kB / 0.796 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.554e-05/0.349, allocations: 39.61 kB / 0.796 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.349, allocations: 3.938 kB / 0.796 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3491, allocations: 0 / 0.796 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3491, allocations: 7.938 kB / 0.796 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.3503, allocations: 0.6873 MB / 0.7967 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.3503, allocations: 7.938 kB / 0.7967 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.3505, allocations: 39.91 kB / 0.7967 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.3505, allocations: 0 / 0.7967 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.3505, allocations: 7.938 kB / 0.7967 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3505, allocations: 8.062 kB / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3505, allocations: 0 / 0.7967 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006956/0.3512, allocations: 416.6 kB / 0.7971 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.3513, allocations: 120.6 kB / 0.7973 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.3514, allocations: 4 kB / 0.7973 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.3516, allocations: 19.98 kB / 0.7973 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.3516, allocations: 7.984 kB / 0.7973 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.3516, allocations: 7.938 kB / 0.7973 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003058/0.3519, allocations: 295.2 kB / 0.7976 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3519, allocations: 0 / 0.7976 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005071/0.3525, allocations: 131.4 kB / 0.7977 GB, free: 14.28 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002385/0.3527, allocations: 111.2 kB / 0.7978 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007568/0.3535, allocations: 360.2 kB / 0.7981 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3535, allocations: 4.125 kB / 0.7981 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.3537, allocations: 83.89 kB / 0.7982 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/0.3543, allocations: 86.36 kB / 0.7983 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.3558, allocations: 0.6606 MB / 0.799 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.3562, allocations: 0.7996 MB / 0.7997 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001541/0.3564, allocations: 47.44 kB / 0.7998 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.3565, allocations: 35.36 kB / 0.7998 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.3565, allocations: 0 / 0.7998 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of Templates: time 0.007256/0.3637, allocations: 3.321 MB / 0.8031 GB, free: 8.758 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (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)