Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.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.001956/0.001956, allocations: 80.52 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.002105/0.002105, allocations: 177.2 kB / 23.24 MB, free: 1.32 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.562/1.562, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.275/3.275, 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.HalfPeriodRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.947e-05, allocations: 6.219 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002635/0.002664, allocations: 1.091 MB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.004871, allocations: 1.435 MB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.428e-05/0.004965, allocations: 0 / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 6.279e-05/0.005028, allocations: 23.67 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.00519, allocations: 63.56 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009092/0.006099, allocations: 377.3 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005869/0.006686, allocations: 471 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.006881, allocations: 71.66 kB / 1.005 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.007231, allocations: 259.5 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.007488, allocations: 131.6 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.363e-05/0.007571, allocations: 51.94 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.007689, allocations: 56 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.678e-05/0.007756, allocations: 51.77 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.007944, allocations: 135.7 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008025/0.008747, allocations: 0.5415 MB / 1.006 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.008751, allocations: 0 / 1.006 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.42e-07/0.008752, allocations: 4 kB / 1.006 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.008759, allocations: 0 / 1.006 GB, free: 8.266 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001144/0.009903, allocations: 0.5412 MB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.009946, allocations: 13.34 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/0.01004, allocations: 28.8 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.01045, allocations: 229.3 kB / 1.007 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.01048, allocations: 24.38 kB / 1.007 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.01055, allocations: 28.38 kB / 1.007 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.01083, allocations: 139.7 kB / 1.007 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.01084, allocations: 192 / 1.007 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.01086, allocations: 4.375 kB / 1.007 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.01087, allocations: 8.125 kB / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.01106, allocations: 95.77 kB / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009864/0.01205, allocations: 0.5349 MB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.01227, allocations: 102.5 kB / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.681e-05/0.01237, allocations: 48.83 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.01239, allocations: 4 kB / 1.007 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.01265, allocations: 149.2 kB / 1.008 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.01265, allocations: 0 / 1.008 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0005405/0.01319, allocations: 261.4 kB / 1.008 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.01325, allocations: 55.41 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.0135, allocations: 215 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.01355, allocations: 33.7 kB / 1.008 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.01369, allocations: 144.6 kB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.01375, allocations: 59.58 kB / 1.008 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.01392, allocations: 89.59 kB / 1.008 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.01413, allocations: 326.8 kB / 1.009 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.01449, allocations: 225 kB / 1.009 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007037/0.01519, allocations: 301.1 kB / 1.009 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.01571, allocations: 342.3 kB / 1.01 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01571, allocations: 0 / 1.01 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001005/0.01672, allocations: 0.5892 MB / 1.01 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.997e-05/0.01682, allocations: 101.1 kB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.01683, allocations: 7.984 kB / 1.01 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.01685, allocations: 4.25 kB / 1.01 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01697, allocations: 27.94 kB / 1.01 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.01699, allocations: 11.92 kB / 1.01 GB, free: 3.215 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.01748, allocations: 91.75 kB / 1.01 GB, free: 3.125 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.01754, allocations: 23.98 kB / 1.01 GB, free: 3.102 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,halPerRat.tOffSam.y,$PRE.halPerRat.tOffSam.y,halPerRat.tOnSam.y,$PRE.halPerRat.tOnSam.y,tOnSig2.booPul.y,$PRE.tOnSig2.booPul.y,tOnSig1.booPul.y,$PRE.tOnSig1.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y,samTri.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 3 * 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.00018/0.01772, allocations: 155.1 kB / 1.011 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.01775, allocations: 19.84 kB / 1.011 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.01814, allocations: 213.7 kB / 1.011 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.01815, allocations: 7.984 kB / 1.011 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01815, allocations: 0 / 1.011 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01816, allocations: 0 / 1.011 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007932/0.01895, allocations: 485.9 kB / 1.011 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01895, allocations: 0 / 1.011 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.01903, allocations: 15.98 kB / 1.011 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01903, allocations: 0 / 1.011 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01904, allocations: 0 / 1.011 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.01905, allocations: 8 kB / 1.011 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01905, allocations: 0 / 1.011 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.01944, allocations: 302.2 kB / 1.012 GB, free: 1.855 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.01947, allocations: 23.83 kB / 1.012 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.0195, allocations: 7.984 kB / 1.012 GB, free: 1.824 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.01957, allocations: 4 kB / 1.012 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.01963, allocations: 19.97 kB / 1.012 GB, free: 1.801 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.01965, allocations: 4 kB / 1.012 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001735/0.01982, allocations: 155 kB / 1.012 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01982, allocations: 0 / 1.012 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003549/0.02017, allocations: 71.89 kB / 1.012 GB, free: 1.574 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: 13 (samTri.y,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,halPerRat.tOnSam.y,halPerRat.tOffSam.y,tOnSig1.booPul.y,tOnSig2.booPul.y,tOff.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001897/0.02036, allocations: 115.2 kB / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007996/0.02116, allocations: 0.5029 MB / 1.012 GB, free: 0.8945 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02117, allocations: 0 / 1.012 GB, free: 0.8945 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.0213, allocations: 67.92 kB / 1.013 GB, free: 0.8281 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.02178, allocations: 56.33 kB / 1.013 GB, free: 0.7734 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.0226, allocations: 363 kB / 1.013 GB, free: 404 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.02276, allocations: 129.9 kB / 1.013 GB, free: 252 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.938e-05/0.02284, allocations: 25.95 kB / 1.013 GB, free: 228 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/0.02291, allocations: 28.48 kB / 1.013 GB, free: 200 kB / 0.9636 GB Notification: Performance of SimCode: time 6.41e-07/0.02291, allocations: 0 / 1.013 GB, free: 200 kB / 0.9636 GB Notification: Performance of Templates: time 0.01018/0.03309, allocations: 4.377 MB / 1.017 GB, free: 11.96 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.310758681967854]