Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009704/0.0009704, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 171 kB / 25.18 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.2 MB / 205.6 MB, free: 4.352 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.944/1.944, allocations: 389.6 MB / 0.6364 GB, free: 13.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable") translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7755 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.117e-05, allocations: 2.312 kB / 0.7755 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.003841/0.003862, allocations: 3.98 MB / 0.7794 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003712/0.007574, allocations: 2.727 MB / 0.7821 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005562/0.008131, allocations: 35.81 kB / 0.7821 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004379/0.008569, allocations: 229.5 kB / 0.7823 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005971/0.009166, allocations: 265.9 kB / 0.7826 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009786/0.01014, allocations: 0.7564 MB / 0.7833 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.01149, allocations: 1.946 MB / 0.7852 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007206/0.01221, allocations: 0.6479 MB / 0.7859 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008631/0.01308, allocations: 1.029 MB / 0.7869 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004452/0.01352, allocations: 0.5176 MB / 0.7874 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.01372, allocations: 212 kB / 0.7876 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.01394, allocations: 236 kB / 0.7878 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.01413, allocations: 386.6 kB / 0.7882 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004294/0.01456, allocations: 0.5103 MB / 0.7887 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008837/0.01544, allocations: 1.191 MB / 0.7898 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01544, allocations: 0 / 0.7898 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.92e-07/0.01544, allocations: 3.938 kB / 0.7898 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.01546, allocations: 0 / 0.7898 GB, free: 15.86 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.001644/0.0171, allocations: 1.669 MB / 0.7915 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.01714, allocations: 12.03 kB / 0.7915 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.01733, allocations: 200.8 kB / 0.7917 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.01793, allocations: 0.5292 MB / 0.7922 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/0.01799, allocations: 90.7 kB / 0.7923 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.0181, allocations: 136.3 kB / 0.7924 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/0.01887, allocations: 0.9357 MB / 0.7933 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.01888, allocations: 192 / 0.7933 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.752e-05/0.01893, allocations: 52.38 kB / 0.7934 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.01895, allocations: 32.12 kB / 0.7934 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/0.01929, allocations: 275.5 kB / 0.7937 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.02201, allocations: 2.47 MB / 0.7961 GB, free: 9.23 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.02256, allocations: 465.3 kB / 0.7965 GB, free: 8.77 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.02273, allocations: 186.4 kB / 0.7967 GB, free: 8.582 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.02276, allocations: 20.64 kB / 0.7967 GB, free: 8.562 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.023, allocations: 260.7 kB / 0.797 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=85): time 2.004e-06/0.023, allocations: 0 / 0.797 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85): time 0.0004903/0.0235, allocations: 442.4 kB / 0.7974 GB, free: 7.863 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.02356, allocations: 192.9 kB / 0.7976 GB, free: 7.629 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.02399, allocations: 0.6598 MB / 0.7982 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.02403, allocations: 49.7 kB / 0.7983 GB, free: 6.906 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.02425, allocations: 466.6 kB / 0.7987 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.02438, allocations: 301.3 kB / 0.799 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.02455, allocations: 178.5 kB / 0.7992 GB, free: 5.965 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.173e-05/0.02463, allocations: 341.9 kB / 0.7995 GB, free: 5.625 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.02484, allocations: 188.2 kB / 0.7997 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.02515, allocations: 0.6049 MB / 0.8003 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.02552, allocations: 437.3 kB / 0.8007 GB, free: 4.219 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.02553, allocations: 0 / 0.8007 GB, free: 4.219 MB / 0.7605 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0005331/0.02606, allocations: 0.5959 MB / 0.8013 GB, free: 3.594 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.0261, allocations: 71.42 kB / 0.8013 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.02611, allocations: 4 kB / 0.8013 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.02613, allocations: 7.984 kB / 0.8013 GB, free: 3.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.02649, allocations: 183.7 kB / 0.8015 GB, free: 3.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.02649, allocations: 8 kB / 0.8015 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.02679, allocations: 115.5 kB / 0.8016 GB, free: 3.199 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.217e-05/0.02683, allocations: 39.97 kB / 0.8017 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002614/0.02709, allocations: 269.5 kB / 0.8019 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003706/0.02746, allocations: 0.5933 MB / 0.8025 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003146/0.02777, allocations: 425.3 kB / 0.8029 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.02778, allocations: 0 / 0.8029 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.0004805/0.02826, allocations: 0.5801 MB / 0.8035 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.02829, allocations: 75.33 kB / 0.8036 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.0283, allocations: 3.984 kB / 0.8036 GB, free: 1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/0.0283, allocations: 8 kB / 0.8036 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.02859, allocations: 156 kB / 0.8037 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.0286, allocations: 12 kB / 0.8037 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.02886, allocations: 115.5 kB / 0.8038 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.02889, allocations: 27.98 kB / 0.8039 GB, free: 0.6875 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ena.y,$PRE.ena.y,pulse.booPul.y,$PRE.pulse.booPul.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 2 * 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.0001319/0.02902, allocations: 232 kB / 0.8041 GB, free: 464 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.02909, allocations: 91.84 kB / 0.8042 GB, free: 372 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3949/0.424, allocations: 397.4 kB / 0.8045 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.424, allocations: 9.25 kB / 0.8046 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.424, allocations: 0 / 0.8046 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/0.4241, allocations: 4.734 kB / 0.8046 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.426, allocations: 1.079 MB / 0.8056 GB, free: 39.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.426, allocations: 4.281 kB / 0.8056 GB, free: 39.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.4264, allocations: 148 kB / 0.8058 GB, free: 39.32 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.4264, allocations: 7.109 kB / 0.8058 GB, free: 39.32 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.4264, allocations: 20.33 kB / 0.8058 GB, free: 39.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.4264, allocations: 13.69 kB / 0.8058 GB, free: 39.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4264, allocations: 3.469 kB / 0.8058 GB, free: 39.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007613/0.4272, allocations: 0.6464 MB / 0.8064 GB, free: 39.11 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.4273, allocations: 95.73 kB / 0.8065 GB, free: 39.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/0.4274, allocations: 22.81 kB / 0.8065 GB, free: 39.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.4276, allocations: 37.11 kB / 0.8066 GB, free: 39.11 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.4277, allocations: 57.33 kB / 0.8066 GB, free: 39.11 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.4277, allocations: 20.03 kB / 0.8067 GB, free: 39.11 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003805/0.4281, allocations: 331.2 kB / 0.807 GB, free: 39.07 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4281, allocations: 2.047 kB / 0.807 GB, free: 39.07 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008601/0.4289, allocations: 492.2 kB / 0.8074 GB, free: 39.06 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.conPID.I.y,limPID.conPID.D.x,limPI.conPID.I.y,limPD.conPID.D.x,noLimPID.conPID.I.y,noLimPID.conPID.D.x) * Number of discrete variables: 7 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,ena.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001809/0.4291, allocations: 114.4 kB / 0.8076 GB, free: 38.99 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.4302, allocations: 1.019 MB / 0.8085 GB, free: 38.58 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.421e-05/0.4302, allocations: 8.578 kB / 0.8086 GB, free: 38.58 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.4305, allocations: 207 kB / 0.8088 GB, free: 38.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008499/0.4313, allocations: 319.8 kB / 0.8091 GB, free: 38.57 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.4337, allocations: 1.849 MB / 0.8109 GB, free: 37.57 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.4342, allocations: 0.5015 MB / 0.8114 GB, free: 37.46 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006345/0.4349, allocations: 329 kB / 0.8117 GB, free: 37.4 MB / 0.7605 GB Notification: Performance of SimCode: time 1.473e-06/0.4349, allocations: 0 / 0.8117 GB, free: 37.4 MB / 0.7605 GB Notification: Performance of Templates: time 0.02408/0.4589, allocations: 14.59 MB / 0.8259 GB, free: 34.11 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable > Buildings_13_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.528841785155237]