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.001388/0.001388, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001545/0.001545, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.564/1.564, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.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 3.211/3.211, allocations: 0.5096 GB / 0.8119 GB, free: 13.55 MB / 0.6544 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.001946/0.001946, allocations: 67.88 kB / 1.18 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 181.3 MB / 1.357 GB, free: 1.77 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable): time 0.006085/1.031, allocations: 4.61 MB / 1.362 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00543/1.037, allocations: 2.624 MB / 1.364 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/1.038, allocations: 28.47 kB / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000751/1.039, allocations: 232.5 kB / 1.364 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0011/1.04, allocations: 249.5 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/1.042, allocations: 0.7661 MB / 1.365 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002866/1.045, allocations: 1.909 MB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/1.046, allocations: 0.6577 MB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/1.047, allocations: 0.6805 MB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009477/1.048, allocations: 0.7048 MB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002833/1.048, allocations: 216.2 kB / 1.369 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/1.049, allocations: 229.9 kB / 1.37 GB, free: 9.156 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003586/1.049, allocations: 383.7 kB / 1.37 GB, free: 8.871 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007826/1.05, allocations: 0.7714 MB / 1.371 GB, free: 8.285 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/1.053, allocations: 2.315 MB / 1.373 GB, free: 6.398 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/1.053, allocations: 7.922 kB / 1.373 GB, free: 6.391 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.864e-06/1.053, allocations: 1.125 kB / 1.373 GB, free: 6.391 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.43e-05/1.053, allocations: 7.938 kB / 1.373 GB, free: 6.383 MB / 1.061 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.00374/1.056, allocations: 1.819 MB / 1.375 GB, free: 4.961 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.056, allocations: 13.47 kB / 1.375 GB, free: 4.957 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003276/1.057, allocations: 175.1 kB / 1.375 GB, free: 4.867 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/1.058, allocations: 0.8373 MB / 1.376 GB, free: 4.172 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.883e-05/1.058, allocations: 94.2 kB / 1.376 GB, free: 4.129 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/1.058, allocations: 127.4 kB / 1.376 GB, free: 4.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/1.061, allocations: 1.168 MB / 1.377 GB, free: 3.371 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/1.061, allocations: 3.938 kB / 1.377 GB, free: 3.367 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/1.061, allocations: 51.72 kB / 1.377 GB, free: 3.328 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/1.061, allocations: 27.66 kB / 1.377 GB, free: 3.328 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/1.063, allocations: 0.8788 MB / 1.378 GB, free: 2.895 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006853/1.07, allocations: 4.131 MB / 1.382 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/1.072, allocations: 1.685 MB / 1.384 GB, free: 14.24 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000878/1.073, allocations: 445.5 kB / 1.384 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.599e-05/1.073, allocations: 17.38 kB / 1.384 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009262/1.074, allocations: 452.9 kB / 1.385 GB, free: 13.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 3.076e-06/1.074, allocations: 1.125 kB / 1.385 GB, free: 13.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.002698/1.077, allocations: 1.093 MB / 1.386 GB, free: 13.2 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/1.077, allocations: 190.8 kB / 1.386 GB, free: 12.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/1.079, allocations: 1.002 MB / 1.387 GB, free: 12.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/1.079, allocations: 53.83 kB / 1.387 GB, free: 12.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/1.079, allocations: 0.5622 MB / 1.387 GB, free: 11.87 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/1.08, allocations: 290.5 kB / 1.388 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/1.08, allocations: 178.3 kB / 1.388 GB, free: 11.51 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.08, allocations: 337.4 kB / 1.388 GB, free: 11.18 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009527/1.081, allocations: 386.1 kB / 1.389 GB, free: 10.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/1.082, allocations: 0.5436 MB / 1.389 GB, free: 10.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/1.084, allocations: 0.8181 MB / 1.39 GB, free: 10.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.084, allocations: 1.5 kB / 1.39 GB, free: 10.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002518/1.086, allocations: 1.131 MB / 1.391 GB, free: 9.492 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.123e-05/1.086, allocations: 71.73 kB / 1.391 GB, free: 9.422 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.086, allocations: 2.375 kB / 1.391 GB, free: 9.422 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/1.086, allocations: 5.719 kB / 1.391 GB, free: 9.422 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/1.087, allocations: 185.6 kB / 1.391 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.087, allocations: 8.188 kB / 1.391 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.088, allocations: 177.8 kB / 1.391 GB, free: 9.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/1.088, allocations: 41.89 kB / 1.391 GB, free: 9.254 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001033/1.089, allocations: 0.5243 MB / 1.392 GB, free: 8.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007673/1.09, allocations: 486.7 kB / 1.392 GB, free: 8.574 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001147/1.091, allocations: 0.7045 MB / 1.393 GB, free: 8.121 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.966e-06/1.091, allocations: 0.9375 kB / 1.393 GB, free: 8.121 MB / 1.076 GB Notification: Performance of matching and sorting (n=106) (initialization_lambda0): time 0.00189/1.093, allocations: 1.01 MB / 1.394 GB, free: 7.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.363e-05/1.093, allocations: 69.77 kB / 1.394 GB, free: 7.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.093, allocations: 2.375 kB / 1.394 GB, free: 7.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/1.093, allocations: 5.781 kB / 1.394 GB, free: 7.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/1.094, allocations: 151.2 kB / 1.394 GB, free: 7.469 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/1.094, allocations: 17.58 kB / 1.394 GB, free: 7.457 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009132/1.095, allocations: 149.9 kB / 1.395 GB, free: 7.375 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/1.095, allocations: 33.05 kB / 1.395 GB, free: 7.367 MB / 1.076 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.0003092/1.095, allocations: 237.5 kB / 1.395 GB, free: 7.145 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/1.095, allocations: 114.5 kB / 1.395 GB, free: 7.082 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/1.097, allocations: 0.8503 MB / 1.396 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.097, allocations: 7.875 kB / 1.396 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/1.097, allocations: 0 / 1.396 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/1.097, allocations: 5.016 kB / 1.396 GB, free: 6.598 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004757/1.102, allocations: 2.294 MB / 1.398 GB, free: 4.965 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.102, allocations: 6.125 kB / 1.398 GB, free: 4.961 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/1.103, allocations: 150.7 kB / 1.398 GB, free: 4.926 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/1.103, allocations: 9.094 kB / 1.398 GB, free: 4.922 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.249e-05/1.103, allocations: 24.42 kB / 1.398 GB, free: 4.906 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-06/1.103, allocations: 5.25 kB / 1.398 GB, free: 4.906 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.103, allocations: 2.812 kB / 1.398 GB, free: 4.906 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002728/1.106, allocations: 1.394 MB / 1.4 GB, free: 4.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/1.106, allocations: 223.8 kB / 1.4 GB, free: 3.863 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/1.106, allocations: 19.69 kB / 1.4 GB, free: 3.852 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004578/1.106, allocations: 53.14 kB / 1.4 GB, free: 3.824 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/1.107, allocations: 58.05 kB / 1.4 GB, free: 3.793 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/1.107, allocations: 32.09 kB / 1.4 GB, free: 3.781 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001115/1.108, allocations: 0.6872 MB / 1.401 GB, free: 3.387 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.108, allocations: 0 / 1.401 GB, free: 3.387 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001314/1.109, allocations: 444 kB / 1.401 GB, free: 3.254 MB / 1.076 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.0002361/1.109, allocations: 130.1 kB / 1.401 GB, free: 3.145 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002881/1.112, allocations: 1.444 MB / 1.403 GB, free: 2.324 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.401e-06/1.112, allocations: 1.031 kB / 1.403 GB, free: 2.324 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007839/1.113, allocations: 396.9 kB / 1.403 GB, free: 2.141 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/1.114, allocations: 310.5 kB / 1.403 GB, free: 1.988 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/1.118, allocations: 2.094 MB / 1.405 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008288/1.119, allocations: 1.094 MB / 1.406 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/1.119, allocations: 93.44 kB / 1.406 GB, free: 15.75 MB / 1.092 GB Notification: Performance of SimCode: time 7.41e-07/1.119, allocations: 7.938 kB / 1.406 GB, free: 15.74 MB / 1.092 GB Notification: Performance of Templates: time 0.02802/1.147, allocations: 15.2 MB / 1.421 GB, free: 4.832 MB / 1.092 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 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.PIDWithEnable.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 14.48339704819955] Failed to read output from testmodel.py, exit status != 0: 1.1564517740625888 1.175906045 0.119279879 Calling exit ...