Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009741/0.0009741, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009536/0.0009536, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9872/0.9872, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 2.493/2.493, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|halPerRat.rho",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|halPerRat.rho",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.38e-05, allocations: 5.406 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.0019/0.001924, allocations: 1.165 MB / 0.8398 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.003527, allocations: 1.473 MB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.003614, allocations: 4 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.589e-05/0.00366, allocations: 19.69 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.003799, allocations: 63.5 kB / 0.8413 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.004687, allocations: 371.1 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.005032, allocations: 463 kB / 0.8421 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.005175, allocations: 78.28 kB / 0.8422 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.005382, allocations: 247.6 kB / 0.8424 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.005535, allocations: 131.6 kB / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.00558, allocations: 44 kB / 0.8426 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.62e-05/0.005677, allocations: 63.98 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.005715, allocations: 51.81 kB / 0.8427 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.324e-05/0.005808, allocations: 131.7 kB / 0.8428 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.006076, allocations: 323 kB / 0.8431 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.00608, allocations: 4 kB / 0.8431 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.22e-07/0.006081, allocations: 4 kB / 0.8431 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.006085, allocations: 0 / 0.8431 GB, free: 9.582 MB / 0.8073 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.0005082/0.006593, allocations: 0.5164 MB / 0.8436 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.006627, allocations: 12.62 kB / 0.8436 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.006683, allocations: 40.89 kB / 0.8437 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.006872, allocations: 165.4 kB / 0.8438 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.006896, allocations: 24.36 kB / 0.8439 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.006924, allocations: 28.31 kB / 0.8439 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.007052, allocations: 116.3 kB / 0.844 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.00706, allocations: 192 / 0.844 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.00707, allocations: 8.359 kB / 0.844 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.007077, allocations: 8.375 kB / 0.844 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.007129, allocations: 44.23 kB / 0.8441 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.007628, allocations: 363.6 kB / 0.8444 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.007729, allocations: 66.55 kB / 0.8445 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.007758, allocations: 24.84 kB / 0.8445 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.007775, allocations: 4 kB / 0.8445 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.007907, allocations: 127.2 kB / 0.8446 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.007909, allocations: 4 kB / 0.8446 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0001809/0.008089, allocations: 143.2 kB / 0.8448 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.00812, allocations: 59.41 kB / 0.8448 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.008224, allocations: 190.3 kB / 0.845 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.008255, allocations: 41.7 kB / 0.845 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.008314, allocations: 136.5 kB / 0.8452 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.008347, allocations: 55.56 kB / 0.8452 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.714e-05/0.008435, allocations: 77.62 kB / 0.8453 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.008512, allocations: 330.8 kB / 0.8456 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.00863, allocations: 161 kB / 0.8458 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.008777, allocations: 234.5 kB / 0.846 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.00896, allocations: 282.3 kB / 0.8462 GB, free: 6.082 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008962, allocations: 0 / 0.8462 GB, free: 6.082 MB / 0.8073 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000329/0.009291, allocations: 435.4 kB / 0.8467 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.54e-05/0.009346, allocations: 101.1 kB / 0.8468 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.009352, allocations: 0 / 0.8468 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.009365, allocations: 7.938 kB / 0.8468 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.009452, allocations: 35.92 kB / 0.8468 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.009456, allocations: 4 kB / 0.8468 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.009638, allocations: 72.08 kB / 0.8469 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.009664, allocations: 15.98 kB / 0.8469 GB, free: 5.363 MB / 0.8073 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 8.87e-05/0.009753, allocations: 133.8 kB / 0.847 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.009773, allocations: 19.98 kB / 0.847 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.009911, allocations: 121.3 kB / 0.8472 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.009915, allocations: 4 kB / 0.8472 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.009916, allocations: 0 / 0.8472 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.00992, allocations: 0 / 0.8472 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.01019, allocations: 322.3 kB / 0.8475 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.0102, allocations: 4 kB / 0.8475 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.01023, allocations: 11.98 kB / 0.8475 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01024, allocations: 11.97 kB / 0.8475 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.01024, allocations: 4 kB / 0.8475 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01025, allocations: 0 / 0.8475 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01025, allocations: 0 / 0.8475 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.01037, allocations: 213.2 kB / 0.8477 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.01039, allocations: 23.86 kB / 0.8477 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.01041, allocations: 7.922 kB / 0.8477 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.239e-05/0.01045, allocations: 8 kB / 0.8477 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.01048, allocations: 15.98 kB / 0.8478 GB, free: 4.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.01049, allocations: 11.98 kB / 0.8478 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.712e-05/0.01054, allocations: 61.73 kB / 0.8478 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01054, allocations: 0 / 0.8478 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002154/0.01075, allocations: 75.88 kB / 0.8479 GB, free: 4.281 MB / 0.8073 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.0001161/0.01087, allocations: 85.12 kB / 0.848 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005692/0.01144, allocations: 432.2 kB / 0.8484 GB, free: 3.711 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.01144, allocations: 8.188 kB / 0.8484 GB, free: 3.703 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/0.01149, allocations: 54.14 kB / 0.8484 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.01173, allocations: 59.69 kB / 0.8485 GB, free: 3.59 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.01213, allocations: 355.5 kB / 0.8488 GB, free: 3.215 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.304e-05/0.01218, allocations: 75.98 kB / 0.8489 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.971e-05/0.01223, allocations: 21.94 kB / 0.8489 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.0124, allocations: 119.3 kB / 0.849 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of SimCode: time 7.31e-07/0.0124, allocations: 0 / 0.849 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of Templates: time 0.006176/0.01857, allocations: 4.765 MB / 0.8537 GB, free: 14.38 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.383312431164086]