Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.879/2.879, allocations: 287.5 MB / 302.4 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.001415/0.001415, allocations: 192.6 kB / 371 MB, free: 10.87 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.242/2.242, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009179/0.0009178, allocations: 92.11 kB / 0.743 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005343/0.0005344, allocations: 17.44 kB / 0.8658 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2418, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.004345/0.2462, allocations: 2.862 MB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004425/0.2506, allocations: 2.007 MB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000955/0.2517, allocations: 19.94 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.2522, allocations: 118.8 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007819/0.253, allocations: 107.1 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.2544, allocations: 338.6 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.2561, allocations: 1.053 MB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000832/0.2569, allocations: 403.8 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004544/0.2574, allocations: 278.4 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004058/0.2578, allocations: 325.9 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.2579, allocations: 36 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.2582, allocations: 47.97 kB / 0.9858 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.2583, allocations: 131.3 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.2585, allocations: 173.1 kB / 0.986 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.2597, allocations: 1.064 MB / 0.9871 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2597, allocations: 7.938 kB / 0.9871 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2597, allocations: 4 kB / 0.9871 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.2597, allocations: 0 / 0.9871 GB, free: 19.39 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.0034/0.2632, allocations: 1.27 MB / 0.9883 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.2632, allocations: 12.02 kB / 0.9884 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003253/0.2636, allocations: 118.6 kB / 0.9885 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.2649, allocations: 0.622 MB / 0.9891 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/0.265, allocations: 70 kB / 0.9891 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.2652, allocations: 87.91 kB / 0.9892 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.2673, allocations: 0.8245 MB / 0.99 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.2674, allocations: 0 / 0.99 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.975e-05/0.2675, allocations: 36 kB / 0.9901 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.2675, allocations: 20 kB / 0.9901 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.2696, allocations: 0.6402 MB / 0.9907 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005997/0.2756, allocations: 2.848 MB / 0.9935 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/0.2779, allocations: 0.7249 MB / 0.9942 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009842/0.279, allocations: 353.7 kB / 0.9945 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.771e-05/0.2791, allocations: 8.547 kB / 0.9945 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.2801, allocations: 347.5 kB / 0.9949 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 4.057e-06/0.2801, allocations: 0 / 0.9949 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.002703/0.2828, allocations: 0.8142 MB / 0.9957 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.933e-05/0.2829, allocations: 200.4 kB / 0.9959 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.2841, allocations: 0.7077 MB / 0.9965 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.2843, allocations: 37.7 kB / 0.9966 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.2848, allocations: 451.7 kB / 0.997 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.285, allocations: 205.1 kB / 0.9972 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.285, allocations: 12 kB / 0.9972 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.758e-05/0.2851, allocations: 338 kB / 0.9975 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.2862, allocations: 277.5 kB / 0.9978 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.2873, allocations: 452.8 kB / 0.9982 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009909/0.2883, allocations: 340.7 kB / 0.9986 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2883, allocations: 0 / 0.9986 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002501/0.2908, allocations: 0.8451 MB / 0.9994 GB, free: 6.383 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.291, allocations: 217.7 kB / 0.9996 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.291, allocations: 4 kB / 0.9996 GB, free: 6.117 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/0.291, allocations: 8 kB / 0.9996 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.2921, allocations: 151.8 kB / 0.9998 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.2922, allocations: 11.94 kB / 0.9998 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.2934, allocations: 167.1 kB / 0.9999 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/0.2935, allocations: 31.98 kB / 1 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2936, allocations: 4 kB / 1 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001454/0.295, allocations: 0.5944 MB / 1.001 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.2951, allocations: 4 kB / 1.001 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2951, allocations: 7.938 kB / 1.001 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/0.2959, allocations: 123.8 kB / 1.001 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.2959, allocations: 11.95 kB / 1.001 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.2969, allocations: 127.4 kB / 1.001 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.297, allocations: 28 kB / 1.001 GB, free: 4.855 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,$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 (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * 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.0006005/0.2976, allocations: 297 kB / 1.001 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.2978, allocations: 82.97 kB / 1.001 GB, free: 4.473 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.298, allocations: 88.02 kB / 1.001 GB, free: 4.383 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.298, allocations: 11.94 kB / 1.001 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.971e-05/0.2981, allocations: 7.953 kB / 1.001 GB, free: 4.363 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.2981, allocations: 3.984 kB / 1.001 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.2992, allocations: 0.7629 MB / 1.002 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2992, allocations: 0 / 1.002 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009921/0.3002, allocations: 123.9 kB / 1.002 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.3002, allocations: 4 kB / 1.002 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.3003, allocations: 12 kB / 1.002 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.3003, allocations: 3.984 kB / 1.002 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3003, allocations: 0 / 1.002 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.3031, allocations: 0.9408 MB / 1.003 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.3034, allocations: 172.1 kB / 1.003 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.3035, allocations: 15.94 kB / 1.003 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005911/0.3041, allocations: 59.95 kB / 1.003 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.3042, allocations: 32.52 kB / 1.003 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.3043, allocations: 19.98 kB / 1.003 GB, free: 2.133 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008205/0.3051, allocations: 491 kB / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.763e-06/0.3051, allocations: 0 / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001188/0.3063, allocations: 326.5 kB / 1.004 GB, free: 1.336 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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.0002734/0.3066, allocations: 115.2 kB / 1.004 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002915/0.3095, allocations: 1.077 MB / 1.005 GB, free: 116 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.3096, allocations: 3.984 kB / 1.005 GB, free: 112 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.3106, allocations: 291.2 kB / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.3122, allocations: 163.1 kB / 1.006 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.3165, allocations: 1.729 MB / 1.007 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007522/0.3173, allocations: 0.9743 MB / 1.008 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007095/0.318, allocations: 97.89 kB / 1.008 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.3183, allocations: 63.42 kB / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of SimCode: time 1.483e-06/0.3184, allocations: 0 / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.02831/0.3467, allocations: 8.427 MB / 1.017 GB, free: 4.387 MB / 0.6355 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)