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.001932/0.001932, allocations: 108.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.00218/0.00218, allocations: 215.2 kB / 23.02 MB, free: 2.957 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.721/1.721, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.66/3.66, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 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.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 0.003856/0.003856, allocations: 71.89 kB / 1.177 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9327/0.9366, allocations: 180 MB / 1.353 GB, free: 1.586 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002583/0.9392, allocations: 1.093 MB / 1.354 GB, free: 0.4961 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002355/0.9415, allocations: 1.416 MB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.9416, allocations: 4 kB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 6.458e-05/0.9417, allocations: 23.67 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.9419, allocations: 59.56 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009023/0.9428, allocations: 376.4 kB / 1.356 GB, free: 14.62 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.9433, allocations: 467.1 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.9435, allocations: 71.38 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.9437, allocations: 179.5 kB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.944, allocations: 143.4 kB / 1.357 GB, free: 13.77 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 7.671e-05/0.944, allocations: 48 kB / 1.357 GB, free: 13.73 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.9442, allocations: 56 kB / 1.357 GB, free: 13.67 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.9442, allocations: 55.77 kB / 1.357 GB, free: 13.62 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.9444, allocations: 151.4 kB / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.945, allocations: 0.4894 MB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.945, allocations: 0 / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.945, allocations: 0 / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.945, allocations: 4 kB / 1.357 GB, free: 12.98 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0009224/0.9459, allocations: 0.549 MB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.946, allocations: 8.922 kB / 1.358 GB, free: 12.37 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.962e-05/0.9461, allocations: 32.8 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.9464, allocations: 230 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.9465, allocations: 16.38 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.9465, allocations: 24.38 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.9468, allocations: 142.9 kB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.9468, allocations: 15.81 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.9469, allocations: 11.98 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.9469, allocations: 4 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.947, allocations: 84.56 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.9481, allocations: 0.531 MB / 1.359 GB, free: 11.23 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.9483, allocations: 105.7 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.9484, allocations: 52.83 kB / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.9484, allocations: 0 / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.9487, allocations: 151.3 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of pre-optimization done (n=20): time 1.874e-06/0.9487, allocations: 0 / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of matching and sorting (n=20): time 0.0005388/0.9493, allocations: 258.9 kB / 1.36 GB, free: 10.64 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.9493, allocations: 55.41 kB / 1.36 GB, free: 10.58 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.9496, allocations: 212.2 kB / 1.36 GB, free: 10.36 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.848e-05/0.9496, allocations: 37.7 kB / 1.36 GB, free: 10.32 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.9498, allocations: 144.5 kB / 1.36 GB, free: 10.18 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.9498, allocations: 47.64 kB / 1.36 GB, free: 10.13 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.95, allocations: 89.66 kB / 1.36 GB, free: 10.04 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.9502, allocations: 330.8 kB / 1.36 GB, free: 9.703 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.9506, allocations: 225 kB / 1.361 GB, free: 9.465 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/0.9512, allocations: 314.9 kB / 1.361 GB, free: 9.105 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007585/0.952, allocations: 342.3 kB / 1.361 GB, free: 8.719 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.952, allocations: 7.938 kB / 1.361 GB, free: 8.711 MB / 1.042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001046/0.953, allocations: 0.5892 MB / 1.362 GB, free: 8.078 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.9531, allocations: 101.1 kB / 1.362 GB, free: 7.961 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.9531, allocations: 0 / 1.362 GB, free: 7.961 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.9532, allocations: 4 kB / 1.362 GB, free: 7.957 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.9533, allocations: 27.92 kB / 1.362 GB, free: 7.93 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.9533, allocations: 3.984 kB / 1.362 GB, free: 7.926 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.9538, allocations: 96 kB / 1.362 GB, free: 7.832 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.9539, allocations: 27.92 kB / 1.362 GB, free: 7.805 MB / 1.042 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.0001871/0.9541, allocations: 152.7 kB / 1.362 GB, free: 7.648 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.9541, allocations: 15.91 kB / 1.362 GB, free: 7.633 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.9545, allocations: 217.4 kB / 1.362 GB, free: 7.418 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.9545, allocations: 0 / 1.362 GB, free: 7.418 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.9545, allocations: 0 / 1.362 GB, free: 7.418 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.9545, allocations: 3.984 kB / 1.362 GB, free: 7.414 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000698/0.9552, allocations: 493.6 kB / 1.363 GB, free: 6.895 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.9552, allocations: 0 / 1.363 GB, free: 6.895 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.83e-05/0.9553, allocations: 16 kB / 1.363 GB, free: 6.879 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.9553, allocations: 7.922 kB / 1.363 GB, free: 6.871 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.9553, allocations: 4 kB / 1.363 GB, free: 6.867 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.9553, allocations: 0 / 1.363 GB, free: 6.867 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.9553, allocations: 4 kB / 1.363 GB, free: 6.863 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.9557, allocations: 296.8 kB / 1.363 GB, free: 6.559 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.9557, allocations: 24.11 kB / 1.363 GB, free: 6.535 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.9558, allocations: 3.984 kB / 1.363 GB, free: 6.531 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.9558, allocations: 8 kB / 1.363 GB, free: 6.523 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.9559, allocations: 16.02 kB / 1.363 GB, free: 6.508 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.9559, allocations: 7.984 kB / 1.363 GB, free: 6.5 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001563/0.9561, allocations: 155 kB / 1.363 GB, free: 6.348 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.9561, allocations: 0 / 1.363 GB, free: 6.348 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003703/0.9564, allocations: 71.83 kB / 1.364 GB, free: 6.277 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: 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.0001859/0.9566, allocations: 127 kB / 1.364 GB, free: 6.141 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0007606/0.9574, allocations: 0.4991 MB / 1.364 GB, free: 5.586 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9574, allocations: 0 / 1.364 GB, free: 5.586 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.9575, allocations: 73.8 kB / 1.364 GB, free: 5.516 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.958, allocations: 54.45 kB / 1.364 GB, free: 5.465 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/0.9587, allocations: 370.5 kB / 1.365 GB, free: 5.074 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.9588, allocations: 129.9 kB / 1.365 GB, free: 4.93 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.369e-05/0.9589, allocations: 21.95 kB / 1.365 GB, free: 4.91 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.959, allocations: 23.44 kB / 1.365 GB, free: 4.887 MB / 1.042 GB Notification: Performance of SimCode: time 4.91e-07/0.959, allocations: 0 / 1.365 GB, free: 4.887 MB / 1.042 GB Notification: Performance of Templates: time 0.009887/0.9688, allocations: 4.587 MB / 1.369 GB, free: 444 kB / 1.042 GB " [Timeout remaining time 299] 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: 10.945995540358126]