Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.917/1.917, allocations: 288.4 MB / 303.4 MB, free: 8.145 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.001114/0.001114, allocations: 182 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.0009364/0.0009365, allocations: 97.09 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004136, allocations: 13.88 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.279, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003262/0.2824, allocations: 2.858 MB / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003806/0.2862, allocations: 2.011 MB / 0.9844 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.2875, allocations: 19.94 kB / 0.9844 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.288, allocations: 114.8 kB / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006338/0.2886, allocations: 107.2 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.2896, allocations: 338.7 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007947/0.2904, allocations: 1.049 MB / 0.9859 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005332/0.2909, allocations: 403.8 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.2911, allocations: 282.4 kB / 0.9866 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.2914, allocations: 333.9 kB / 0.9869 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.2915, allocations: 28 kB / 0.9869 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.2916, allocations: 43.97 kB / 0.987 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/0.2917, allocations: 135.3 kB / 0.9871 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2918, allocations: 173.1 kB / 0.9873 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006525/0.2925, allocations: 1.068 MB / 0.9883 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.2925, allocations: 0 / 0.9883 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2925, allocations: 7.938 kB / 0.9883 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.2925, allocations: 0 / 0.9883 GB, free: 18.67 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.002022/0.2946, allocations: 1.266 MB / 0.9896 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2946, allocations: 16.02 kB / 0.9896 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.2948, allocations: 118.6 kB / 0.9897 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007433/0.2955, allocations: 0.6181 MB / 0.9903 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.2956, allocations: 66 kB / 0.9904 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.2957, allocations: 95.84 kB / 0.9904 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.297, allocations: 0.8284 MB / 0.9913 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.2971, allocations: 0 / 0.9913 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.2971, allocations: 36 kB / 0.9913 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.2972, allocations: 20 kB / 0.9913 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.2983, allocations: 0.6402 MB / 0.9919 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003243/0.3015, allocations: 2.848 MB / 0.9947 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.3028, allocations: 0.7207 MB / 0.9954 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.3033, allocations: 355.6 kB / 0.9958 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.3034, allocations: 8.562 kB / 0.9958 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006404/0.304, allocations: 355.5 kB / 0.9961 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 2.895e-06/0.304, allocations: 0 / 0.9961 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.001552/0.3056, allocations: 0.8181 MB / 0.9969 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.3057, allocations: 188.5 kB / 0.9971 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.3064, allocations: 0.7038 MB / 0.9978 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.317e-05/0.3065, allocations: 37.7 kB / 0.9978 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.3068, allocations: 455.7 kB / 0.9982 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.3069, allocations: 201.1 kB / 0.9984 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.3069, allocations: 12 kB / 0.9984 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.307, allocations: 338 kB / 0.9988 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/0.3075, allocations: 273.5 kB / 0.999 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/0.3081, allocations: 464.7 kB / 0.9995 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.3086, allocations: 344.7 kB / 0.9998 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3087, allocations: 0 / 0.9998 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001307/0.31, allocations: 0.8411 MB / 1.001 GB, free: 5.652 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.3101, allocations: 207.4 kB / 1.001 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3101, allocations: 4 kB / 1.001 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3101, allocations: 4 kB / 1.001 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005815/0.3107, allocations: 163.8 kB / 1.001 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3107, allocations: 7.938 kB / 1.001 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.3114, allocations: 163.1 kB / 1.001 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/0.3114, allocations: 31.98 kB / 1.001 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.3114, allocations: 8 kB / 1.001 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008262/0.3123, allocations: 0.5942 MB / 1.002 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3123, allocations: 3.984 kB / 1.002 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.3123, allocations: 12 kB / 1.002 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.3127, allocations: 127.8 kB / 1.002 GB, free: 4.281 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3127, allocations: 4.375 kB / 1.002 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.3132, allocations: 135.2 kB / 1.002 GB, free: 4.145 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.3132, allocations: 28 kB / 1.002 GB, free: 4.117 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.0003205/0.3135, allocations: 298.1 kB / 1.002 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.912e-05/0.3136, allocations: 86.91 kB / 1.002 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.3138, allocations: 84.03 kB / 1.003 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.3138, allocations: 8 kB / 1.003 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.3138, allocations: 7.922 kB / 1.003 GB, free: 3.629 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3138, allocations: 3.953 kB / 1.003 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007446/0.3145, allocations: 0.7668 MB / 1.003 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3146, allocations: 0 / 1.003 GB, free: 2.809 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/0.315, allocations: 119.9 kB / 1.003 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3151, allocations: 0 / 1.003 GB, free: 2.691 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.3151, allocations: 15.98 kB / 1.003 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3151, allocations: 4 kB / 1.003 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3151, allocations: 4 kB / 1.003 GB, free: 2.668 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.3166, allocations: 0.9486 MB / 1.004 GB, free: 1.699 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3167, allocations: 160 kB / 1.004 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.3168, allocations: 12 kB / 1.005 GB, free: 1.512 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.3171, allocations: 59.95 kB / 1.005 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.3172, allocations: 32.52 kB / 1.005 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.3172, allocations: 23.92 kB / 1.005 GB, free: 1.398 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004951/0.3177, allocations: 495 kB / 1.005 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3177, allocations: 0 / 1.005 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006711/0.3184, allocations: 314.7 kB / 1.005 GB, free: 0.6094 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.0002382/0.3187, allocations: 123.7 kB / 1.006 GB, free: 492 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.3204, allocations: 1.068 MB / 1.007 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.3204, allocations: 3.984 kB / 1.007 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005444/0.3209, allocations: 292.6 kB / 1.007 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008367/0.3218, allocations: 184 kB / 1.007 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.3244, allocations: 1.725 MB / 1.009 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.325, allocations: 0.9782 MB / 1.01 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003751/0.3253, allocations: 97.91 kB / 1.01 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.3255, allocations: 59.42 kB / 1.01 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/0.3255, allocations: 0 / 1.01 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of Templates: time 0.01657/0.3421, allocations: 8.422 MB / 1.018 GB, free: 3.68 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)