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.0018/0.0018, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.002017/0.002017, allocations: 173.2 kB / 23.23 MB, free: 1.328 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.649/1.649, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.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.221/3.221, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 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 1.883e-06/1.883e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.691e-05, allocations: 6.219 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.OnOffPeriod): time 0.00298/0.003007, allocations: 1.25 MB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.005682, allocations: 1.466 MB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.005875, allocations: 7.938 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.006048, allocations: 47.47 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.006161, allocations: 43.59 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008443/0.007005, allocations: 331.5 kB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.007585, allocations: 475.1 kB / 1.005 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003363/0.007922, allocations: 154.9 kB / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.008249, allocations: 255.6 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.008467, allocations: 127.5 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.008551, allocations: 52 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.008687, allocations: 71.92 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.008779, allocations: 75.75 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.008982, allocations: 139.7 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008373/0.009819, allocations: 0.6543 MB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.009823, allocations: 0 / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.533e-06/0.009824, allocations: 0 / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.009833, allocations: 4 kB / 1.006 GB, free: 7.887 MB / 0.9636 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.001049/0.01088, allocations: 0.5729 MB / 1.007 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.01092, allocations: 9.344 kB / 1.007 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.01103, allocations: 44.7 kB / 1.007 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.0115, allocations: 262.1 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.01154, allocations: 37.02 kB / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.01161, allocations: 40.31 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/0.01209, allocations: 246.7 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.01211, allocations: 192 / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.01215, allocations: 20.36 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.01216, allocations: 8.125 kB / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.0125, allocations: 170.5 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.01378, allocations: 0.7034 MB / 1.008 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.01419, allocations: 170.8 kB / 1.008 GB, free: 5.508 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.0144, allocations: 84.81 kB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.01443, allocations: 4 kB / 1.008 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003192/0.01475, allocations: 167.2 kB / 1.009 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=29): time 4.318e-06/0.01475, allocations: 3.984 kB / 1.009 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29): time 0.0006075/0.01536, allocations: 307 kB / 1.009 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.01543, allocations: 67.33 kB / 1.009 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.01567, allocations: 216.1 kB / 1.009 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.01572, allocations: 37.7 kB / 1.009 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.01612, allocations: 184.6 kB / 1.009 GB, free: 4.41 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.01619, allocations: 63.53 kB / 1.009 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.01636, allocations: 101.6 kB / 1.01 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.01656, allocations: 342.8 kB / 1.01 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.01686, allocations: 175.8 kB / 1.01 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.01726, allocations: 277.4 kB / 1.01 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.01776, allocations: 327.3 kB / 1.011 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.01777, allocations: 7.938 kB / 1.011 GB, free: 3.008 MB / 0.9636 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008795/0.01865, allocations: 0.5148 MB / 1.011 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.336e-05/0.01872, allocations: 67.39 kB / 1.011 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.01873, allocations: 4 kB / 1.011 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.01875, allocations: 4 kB / 1.011 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.01889, allocations: 43.8 kB / 1.011 GB, free: 2.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.0189, allocations: 7.984 kB / 1.011 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.01928, allocations: 71.72 kB / 1.011 GB, free: 2.258 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.01933, allocations: 32.08 kB / 1.011 GB, free: 2.227 MB / 0.9636 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.0002211/0.01955, allocations: 173.8 kB / 1.011 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.01959, allocations: 23.86 kB / 1.012 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.01965, allocations: 26.66 kB / 1.012 GB, free: 2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01966, allocations: 0 / 1.012 GB, free: 2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.01967, allocations: 7.875 kB / 1.012 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.01967, allocations: 7.984 kB / 1.012 GB, free: 1.984 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008787/0.02055, allocations: 0.5697 MB / 1.012 GB, free: 1.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.02055, allocations: 0 / 1.012 GB, free: 1.379 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.02062, allocations: 15.98 kB / 1.012 GB, free: 1.363 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/0.02064, allocations: 3.938 kB / 1.012 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.02066, allocations: 12 kB / 1.012 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.02066, allocations: 0 / 1.012 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.02066, allocations: 3.984 kB / 1.012 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.02111, allocations: 336.3 kB / 1.012 GB, free: 1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.02115, allocations: 31.7 kB / 1.012 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.02118, allocations: 8 kB / 1.012 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.02126, allocations: 8 kB / 1.013 GB, free: 0.9531 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.02134, allocations: 23.95 kB / 1.013 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.02136, allocations: 15.94 kB / 1.013 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001386/0.02149, allocations: 131.2 kB / 1.013 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.02149, allocations: 0 / 1.013 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003749/0.02187, allocations: 79.84 kB / 1.013 GB, free: 0.707 MB / 0.9636 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.0002149/0.02208, allocations: 137.2 kB / 1.013 GB, free: 0.5664 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0006889/0.02277, allocations: 440.3 kB / 1.013 GB, free: 104 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02278, allocations: 0 / 1.013 GB, free: 104 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.02294, allocations: 83.91 kB / 1.013 GB, free: 20 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.02333, allocations: 40.14 kB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009581/0.02428, allocations: 485.1 kB / 1.014 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.02447, allocations: 155.5 kB / 1.014 GB, free: 15.31 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001/0.02457, allocations: 30.28 kB / 1.014 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.02463, allocations: 28.5 kB / 1.014 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of SimCode: time 6.01e-07/0.02464, allocations: 0 / 1.014 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of Templates: time 0.009019/0.03365, allocations: 3.506 MB / 1.018 GB, free: 11.85 MB / 0.9792 GB " [Timeout remaining time 300] 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: 9.132676109671593]