Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.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.001811/0.001811, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002042/0.002042, allocations: 215.2 kB / 23.02 MB, free: 2.953 MB / 13.93 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.77/1.77, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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 3.397/3.397, allocations: 0.5045 GB / 0.8104 GB, free: 2.777 MB / 0.6511 GB " [Timeout remaining time 176] 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.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003651/0.003651, allocations: 67.89 kB / 1.177 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.053, allocations: 180 MB / 1.353 GB, free: 1.609 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod): time 0.003164/1.056, allocations: 1.265 MB / 1.354 GB, free: 356 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002362/1.058, allocations: 1.463 MB / 1.356 GB, free: 14.87 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/1.059, allocations: 8 kB / 1.356 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002004/1.059, allocations: 43.47 kB / 1.356 GB, free: 14.82 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/1.059, allocations: 39.66 kB / 1.356 GB, free: 14.78 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008065/1.06, allocations: 325.5 kB / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0005565/1.06, allocations: 463.2 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/1.061, allocations: 158.8 kB / 1.357 GB, free: 13.86 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/1.061, allocations: 167.5 kB / 1.357 GB, free: 13.7 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/1.061, allocations: 147.3 kB / 1.357 GB, free: 13.55 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.281e-05/1.061, allocations: 55.94 kB / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/1.061, allocations: 63.98 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.45e-05/1.061, allocations: 83.75 kB / 1.357 GB, free: 13.35 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/1.062, allocations: 155.4 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007821/1.062, allocations: 0.6139 MB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.062, allocations: 0 / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.443e-06/1.062, allocations: 4 kB / 1.358 GB, free: 12.58 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.436e-06/1.062, allocations: 3.938 kB / 1.358 GB, free: 12.58 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001019/1.063, allocations: 0.5807 MB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.063, allocations: 8.922 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/1.064, allocations: 40.7 kB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005214/1.064, allocations: 283.2 kB / 1.359 GB, free: 11.6 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/1.064, allocations: 28.97 kB / 1.359 GB, free: 11.57 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/1.064, allocations: 40.38 kB / 1.359 GB, free: 11.53 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/1.065, allocations: 250.7 kB / 1.359 GB, free: 11.28 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/1.065, allocations: 7.938 kB / 1.359 GB, free: 11.27 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/1.065, allocations: 11.98 kB / 1.359 GB, free: 11.26 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/1.065, allocations: 8 kB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/1.065, allocations: 174.5 kB / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/1.066, allocations: 0.7072 MB / 1.36 GB, free: 10.34 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/1.067, allocations: 170.8 kB / 1.36 GB, free: 10.17 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/1.067, allocations: 80.83 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/1.067, allocations: 4 kB / 1.36 GB, free: 10.08 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000299/1.067, allocations: 168.2 kB / 1.36 GB, free: 9.906 MB / 1.042 GB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/1.067, allocations: 0 / 1.36 GB, free: 9.906 MB / 1.042 GB Notification: Performance of matching and sorting (n=29): time 0.0006158/1.068, allocations: 307.4 kB / 1.361 GB, free: 9.602 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/1.068, allocations: 63.39 kB / 1.361 GB, free: 9.527 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/1.068, allocations: 197.3 kB / 1.361 GB, free: 9.328 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/1.068, allocations: 41.69 kB / 1.361 GB, free: 9.281 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/1.068, allocations: 180.5 kB / 1.361 GB, free: 9.098 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 7.347e-05/1.069, allocations: 71.52 kB / 1.361 GB, free: 9.027 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/1.069, allocations: 97.67 kB / 1.361 GB, free: 8.926 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.069, allocations: 334.8 kB / 1.362 GB, free: 8.59 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/1.069, allocations: 183.7 kB / 1.362 GB, free: 8.398 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/1.07, allocations: 281 kB / 1.362 GB, free: 8.074 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/1.07, allocations: 333.2 kB / 1.362 GB, free: 7.695 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.07, allocations: 0 / 1.362 GB, free: 7.695 MB / 1.042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008656/1.071, allocations: 0.5185 MB / 1.363 GB, free: 7.148 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/1.071, allocations: 75.67 kB / 1.363 GB, free: 7.062 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.071, allocations: 8 kB / 1.363 GB, free: 7.055 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/1.071, allocations: 4 kB / 1.363 GB, free: 7.051 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/1.071, allocations: 35.92 kB / 1.363 GB, free: 7.016 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/1.071, allocations: 4 kB / 1.363 GB, free: 7.012 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/1.072, allocations: 67.78 kB / 1.363 GB, free: 6.945 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/1.072, allocations: 27.92 kB / 1.363 GB, free: 6.918 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 34 (onOffPer.timOffRec.yRec.y,$PRE.onOffPer.timOffRec.yRec.y,onOffPer.timOnRec.yRec.y,$PRE.onOffPer.timOnRec.yRec.y,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,relSwi.y,$PRE.relSwi.y,$whenCondition1,$whenCondition2,retSig.y,$PRE.retSig.y,onOffPer.timOffRec.edgThr.y,onOffPer.timOffRec.edgThr.u,$PRE.onOffPer.timOffRec.edgThr.u,onOffPer.timOffRec.edgRes.u,$PRE.onOffPer.timOffRec.edgRes.u,onOffPer.timOffRec.samTri.y,onOffPer.timOffRec.samTri.u2,onOffPer.timOnRec.edgThr.y,onOffPer.timOnRec.edgThr.u,$PRE.onOffPer.timOnRec.edgThr.u,onOffPer.timOnRec.edgRes.u,$PRE.onOffPer.timOnRec.edgRes.u,onOffPer.timOnRec.samTri.y,onOffPer.timOnRec.samTri.u2,onOffPer.timOff.y,$PRE.onOffPer.timOff.y,onOffPer.timOn.y,$PRE.onOffPer.timOn.y,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * 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.000238/1.072, allocations: 185.8 kB / 1.363 GB, free: 6.73 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/1.072, allocations: 23.84 kB / 1.363 GB, free: 6.707 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.618e-05/1.072, allocations: 38.52 kB / 1.363 GB, free: 6.672 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.072, allocations: 4 kB / 1.363 GB, free: 6.668 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.072, allocations: 0 / 1.363 GB, free: 6.668 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.072, allocations: 0 / 1.363 GB, free: 6.668 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008848/1.073, allocations: 0.5805 MB / 1.364 GB, free: 6.051 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.073, allocations: 0 / 1.364 GB, free: 6.051 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.252e-05/1.073, allocations: 23.92 kB / 1.364 GB, free: 6.027 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1.073, allocations: 0 / 1.364 GB, free: 6.027 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/1.073, allocations: 4 kB / 1.364 GB, free: 6.023 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.073, allocations: 4 kB / 1.364 GB, free: 6.02 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.073, allocations: 0 / 1.364 GB, free: 6.02 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/1.073, allocations: 336.2 kB / 1.364 GB, free: 5.676 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/1.073, allocations: 19.86 kB / 1.364 GB, free: 5.656 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/1.073, allocations: 11.98 kB / 1.364 GB, free: 5.645 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/1.074, allocations: 4 kB / 1.364 GB, free: 5.641 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.436e-05/1.074, allocations: 19.97 kB / 1.364 GB, free: 5.621 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/1.074, allocations: 23.92 kB / 1.364 GB, free: 5.598 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001356/1.074, allocations: 131.4 kB / 1.364 GB, free: 5.469 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/1.074, allocations: 0 / 1.364 GB, free: 5.469 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003746/1.074, allocations: 87.77 kB / 1.364 GB, free: 5.383 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (onOffPer.timOnRec.samTri.y,onOffPer.timOffRec.samTri.y,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onOffPer.timOn.y,onOffPer.timOff.y,onOffPer.timOnRec.yRec.y,onOffPer.timOnRec.samTri.u2,onOffPer.timOnRec.edgRes.u,onOffPer.timOnRec.edgThr.u,onOffPer.timOnRec.edgThr.y,onOffPer.timOffRec.yRec.y,onOffPer.timOffRec.samTri.u2,onOffPer.timOffRec.edgRes.u,onOffPer.timOffRec.edgThr.u,onOffPer.timOffRec.edgThr.y,relSwi.y,retSig.y) * Number of discrete states: 4 (onOffPer.timOnRec.edgRes.u,onOffPer.timOffRec.edgRes.u,onOffPer.timOffRec.edgThr.u,onOffPer.timOnRec.edgThr.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002266/1.074, allocations: 125.8 kB / 1.365 GB, free: 5.246 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0006814/1.075, allocations: 441.1 kB / 1.365 GB, free: 4.781 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.075, allocations: 0 / 1.365 GB, free: 4.781 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/1.075, allocations: 100.3 kB / 1.365 GB, free: 4.684 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/1.076, allocations: 39.67 kB / 1.365 GB, free: 4.645 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/1.077, allocations: 484.8 kB / 1.366 GB, free: 4.145 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/1.077, allocations: 159.3 kB / 1.366 GB, free: 3.965 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001059/1.077, allocations: 30.28 kB / 1.366 GB, free: 3.934 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/1.077, allocations: 27.42 kB / 1.366 GB, free: 3.906 MB / 1.042 GB Notification: Performance of SimCode: time 6.61e-07/1.077, allocations: 3.938 kB / 1.366 GB, free: 3.902 MB / 1.042 GB Notification: Performance of Templates: time 0.009052/1.086, allocations: 3.715 MB / 1.369 GB, free: 300 kB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.673838422633708]