Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001408/0.001408, allocations: 84.75 kB / 19.76 MB, free: 2.016 MB / 14.72 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.001591/0.001591, allocations: 153.8 kB / 23.01 MB, free: 4.969 MB / 14.72 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.473/1.473, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.935/2.935, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable") translateModel(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 63.91 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109/1.112, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.005433/1.117, allocations: 3.852 MB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004568/1.122, allocations: 2.59 MB / 1.193 GB, free: 11.65 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/1.123, allocations: 33.31 kB / 1.193 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007711/1.124, allocations: 230.1 kB / 1.193 GB, free: 11.46 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/1.125, allocations: 253.6 kB / 1.193 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/1.127, allocations: 0.7585 MB / 1.194 GB, free: 10.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002327/1.129, allocations: 1.918 MB / 1.196 GB, free: 9.734 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009795/1.13, allocations: 0.6142 MB / 1.197 GB, free: 9.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007126/1.131, allocations: 0.6891 MB / 1.197 GB, free: 8.902 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006143/1.131, allocations: 0.612 MB / 1.198 GB, free: 8.551 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002496/1.132, allocations: 216.6 kB / 1.198 GB, free: 8.551 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/1.132, allocations: 227.7 kB / 1.198 GB, free: 8.547 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/1.132, allocations: 391.2 kB / 1.199 GB, free: 8.254 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004641/1.133, allocations: 0.6057 MB / 1.199 GB, free: 7.832 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/1.135, allocations: 2.338 MB / 1.202 GB, free: 6.859 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.135, allocations: 1.281 kB / 1.202 GB, free: 6.859 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.693e-06/1.135, allocations: 4 kB / 1.202 GB, free: 6.855 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.736e-05/1.135, allocations: 0 / 1.202 GB, free: 6.855 MB / 1.076 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.003372/1.138, allocations: 2.06 MB / 1.204 GB, free: 5.598 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.138, allocations: 13.75 kB / 1.204 GB, free: 5.594 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003156/1.139, allocations: 174.7 kB / 1.204 GB, free: 5.504 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/1.14, allocations: 0.7745 MB / 1.204 GB, free: 4.973 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.932e-05/1.14, allocations: 95.25 kB / 1.205 GB, free: 4.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/1.14, allocations: 130 kB / 1.205 GB, free: 4.887 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/1.142, allocations: 1.297 MB / 1.206 GB, free: 4.195 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/1.143, allocations: 5.062 kB / 1.206 GB, free: 4.191 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/1.143, allocations: 51.28 kB / 1.206 GB, free: 4.152 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/1.143, allocations: 28.47 kB / 1.206 GB, free: 4.152 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/1.144, allocations: 0.8781 MB / 1.207 GB, free: 3.824 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005545/1.15, allocations: 3.428 MB / 1.21 GB, free: 1.703 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/1.152, allocations: 0.9336 MB / 1.211 GB, free: 1.332 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000806/1.153, allocations: 439.5 kB / 1.212 GB, free: 1.16 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.068e-05/1.153, allocations: 12.73 kB / 1.212 GB, free: 1.156 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008523/1.154, allocations: 452.2 kB / 1.212 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 2.835e-06/1.154, allocations: 3.938 kB / 1.212 GB, free: 0.9648 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002245/1.156, allocations: 1.074 MB / 1.213 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/1.156, allocations: 191.6 kB / 1.213 GB, free: 324 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/1.157, allocations: 0.8208 MB / 1.214 GB, free: 15.95 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.81e-05/1.157, allocations: 49.61 kB / 1.214 GB, free: 15.9 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006246/1.158, allocations: 0.5764 MB / 1.215 GB, free: 15.45 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/1.158, allocations: 291 kB / 1.215 GB, free: 15.22 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003539/1.159, allocations: 180.7 kB / 1.215 GB, free: 15.14 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.159, allocations: 344.5 kB / 1.215 GB, free: 14.82 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009978/1.16, allocations: 443.2 kB / 1.216 GB, free: 14.6 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/1.161, allocations: 0.8525 MB / 1.217 GB, free: 13.9 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/1.163, allocations: 0.8291 MB / 1.218 GB, free: 13.45 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.163, allocations: 96 / 1.218 GB, free: 13.45 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002523/1.165, allocations: 1.178 MB / 1.219 GB, free: 12.87 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/1.165, allocations: 67.59 kB / 1.219 GB, free: 12.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.165, allocations: 3.109 kB / 1.219 GB, free: 12.8 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/1.165, allocations: 6.75 kB / 1.219 GB, free: 12.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007753/1.166, allocations: 184.2 kB / 1.219 GB, free: 12.78 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/1.166, allocations: 6.891 kB / 1.219 GB, free: 12.78 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009034/1.167, allocations: 154.3 kB / 1.219 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.254e-05/1.167, allocations: 40.66 kB / 1.219 GB, free: 12.72 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001138/1.168, allocations: 0.5798 MB / 1.22 GB, free: 12.36 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001119/1.169, allocations: 0.7911 MB / 1.22 GB, free: 11.67 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001363/1.171, allocations: 0.7068 MB / 1.221 GB, free: 11.23 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.711e-06/1.171, allocations: 1.125 kB / 1.221 GB, free: 11.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.00198/1.173, allocations: 1.044 MB / 1.222 GB, free: 10.69 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-05/1.173, allocations: 68.78 kB / 1.222 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.173, allocations: 6.531 kB / 1.222 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/1.173, allocations: 5.406 kB / 1.222 GB, free: 10.62 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/1.173, allocations: 152.2 kB / 1.222 GB, free: 10.6 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/1.173, allocations: 10.25 kB / 1.222 GB, free: 10.6 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008537/1.174, allocations: 150.9 kB / 1.223 GB, free: 10.54 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/1.174, allocations: 33.42 kB / 1.223 GB, free: 10.54 MB / 1.092 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,pulse.booPul.y,$PRE.pulse.booPul.y,ena.y,$PRE.ena.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.0003134/1.175, allocations: 234 kB / 1.223 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/1.175, allocations: 101 kB / 1.223 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/1.177, allocations: 0.8363 MB / 1.224 GB, free: 9.906 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/1.177, allocations: 8.688 kB / 1.224 GB, free: 9.906 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.177, allocations: 5.609 kB / 1.224 GB, free: 9.902 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/1.177, allocations: 3.844 kB / 1.224 GB, free: 9.902 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/1.181, allocations: 1.93 MB / 1.226 GB, free: 8.875 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.181, allocations: 2.953 kB / 1.226 GB, free: 8.875 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/1.181, allocations: 155 kB / 1.226 GB, free: 8.859 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/1.181, allocations: 4.875 kB / 1.226 GB, free: 8.859 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-05/1.181, allocations: 23.16 kB / 1.226 GB, free: 8.848 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/1.181, allocations: 10.77 kB / 1.226 GB, free: 8.844 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.181, allocations: 2.594 kB / 1.226 GB, free: 8.844 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/1.184, allocations: 1.373 MB / 1.227 GB, free: 8.133 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/1.184, allocations: 123.8 kB / 1.227 GB, free: 8.047 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/1.184, allocations: 20.97 kB / 1.227 GB, free: 8.035 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/1.185, allocations: 49.86 kB / 1.227 GB, free: 8.023 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.185, allocations: 59.55 kB / 1.227 GB, free: 8.008 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/1.185, allocations: 37.86 kB / 1.227 GB, free: 7.992 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009252/1.186, allocations: 0.5542 MB / 1.228 GB, free: 7.75 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.186, allocations: 3.938 kB / 1.228 GB, free: 7.746 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001458/1.187, allocations: 484.5 kB / 1.228 GB, free: 7.578 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (noLimPID.conPID.D.x,noLimPID.conPID.I.y,limPD.conPID.D.x,limPI.conPID.I.y,limPID.conPID.D.x,limPID.conPID.I.y) * Number of discrete variables: 7 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ena.y,pulse.booPul.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.0002381/1.188, allocations: 135.2 kB / 1.229 GB, free: 7.465 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003391/1.191, allocations: 1.557 MB / 1.23 GB, free: 6.645 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.191, allocations: 1.219 kB / 1.23 GB, free: 6.645 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008472/1.192, allocations: 376 kB / 1.23 GB, free: 6.516 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.193, allocations: 297.6 kB / 1.231 GB, free: 6.422 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/1.198, allocations: 2.03 MB / 1.233 GB, free: 5.258 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008596/1.198, allocations: 0.5076 MB / 1.233 GB, free: 5.117 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006638/1.199, allocations: 127.8 kB / 1.233 GB, free: 5.094 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/1.199, allocations: 75.62 kB / 1.233 GB, free: 5.086 MB / 1.092 GB Notification: Performance of SimCode: time 6.51e-07/1.199, allocations: 4 kB / 1.233 GB, free: 5.082 MB / 1.092 GB Notification: Performance of Templates: time 0.034/1.233, allocations: 15.98 MB / 1.249 GB, free: 14.91 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable -abortSlowSimulation -alarm=800 -s ida -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 9.76773728907574] Failed to read output from testmodel.py, exit status != 0: 1.2430217299843207 1.25881576 0.120486671 Calling exit ...