Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00101/0.00101, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001003/0.001003, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.063/1.063, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.035/2.035, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|halPerRat.rho",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/3.029e-05, allocations: 5.266 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.003004/0.003034, allocations: 1.171 MB / 0.7612 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00232/0.005354, allocations: 1.465 MB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.005475, allocations: 9.75 kB / 0.7626 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.169e-05/0.005537, allocations: 15.75 kB / 0.7627 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.005749, allocations: 62.62 kB / 0.7627 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009164/0.006665, allocations: 367.9 kB / 0.7631 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006197/0.007285, allocations: 467.6 kB / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.007493, allocations: 83.02 kB / 0.7636 GB, free: 3 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.007851, allocations: 251.6 kB / 0.7638 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.008109, allocations: 129.2 kB / 0.764 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.212e-05/0.008191, allocations: 44 kB / 0.764 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.008342, allocations: 63.98 kB / 0.7641 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.008395, allocations: 51.77 kB / 0.7641 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.008555, allocations: 132.4 kB / 0.7642 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000492/0.009047, allocations: 327 kB / 0.7646 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.009054, allocations: 5.062 kB / 0.7646 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.009056, allocations: 0 / 0.7646 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.009065, allocations: 0 / 0.7646 GB, free: 2.02 MB / 0.7136 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.0007933/0.009858, allocations: 0.5169 MB / 0.7651 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.009899, allocations: 12.75 kB / 0.7651 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.009988, allocations: 44.89 kB / 0.7651 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.01028, allocations: 169.8 kB / 0.7653 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.801e-05/0.01032, allocations: 24.36 kB / 0.7653 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.01036, allocations: 25.47 kB / 0.7653 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.01055, allocations: 116.4 kB / 0.7654 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.01056, allocations: 192 / 0.7654 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.01057, allocations: 9.391 kB / 0.7654 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.01058, allocations: 4.375 kB / 0.7655 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.01066, allocations: 41.91 kB / 0.7655 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000752/0.01141, allocations: 367.6 kB / 0.7658 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.01155, allocations: 65.31 kB / 0.7659 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.01159, allocations: 28.83 kB / 0.7659 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.01161, allocations: 4 kB / 0.7659 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.01178, allocations: 120.7 kB / 0.7661 GB, free: 392 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.01178, allocations: 0 / 0.7661 GB, free: 392 kB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0002464/0.01203, allocations: 143.8 kB / 0.7662 GB, free: 244 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.01207, allocations: 61.47 kB / 0.7662 GB, free: 172 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.01224, allocations: 195.5 kB / 0.7664 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.01228, allocations: 37.7 kB / 0.7665 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/0.01236, allocations: 140.5 kB / 0.7666 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.01241, allocations: 51.58 kB / 0.7667 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.01253, allocations: 77.62 kB / 0.7667 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.01263, allocations: 331.7 kB / 0.767 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.0128, allocations: 161 kB / 0.7672 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.013, allocations: 233.5 kB / 0.7674 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.01327, allocations: 274.3 kB / 0.7677 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.01327, allocations: 0 / 0.7677 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004686/0.01374, allocations: 433.9 kB / 0.7681 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.543e-05/0.01382, allocations: 105.1 kB / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.01383, allocations: 48 / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.01385, allocations: 11.92 kB / 0.7682 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.01396, allocations: 37.36 kB / 0.7682 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01397, allocations: 4 kB / 0.7682 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.0142, allocations: 68.81 kB / 0.7683 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.01423, allocations: 21.14 kB / 0.7683 GB, free: 13.82 MB / 0.7292 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 9.57e-05/0.01432, allocations: 134.1 kB / 0.7685 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.01434, allocations: 23.02 kB / 0.7685 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.01449, allocations: 111.4 kB / 0.7686 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01449, allocations: 4 kB / 0.7686 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.0145, allocations: 0 / 0.7686 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.0145, allocations: 0 / 0.7686 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.01479, allocations: 320.7 kB / 0.7689 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.0148, allocations: 4 kB / 0.7689 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.01483, allocations: 15.92 kB / 0.7689 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.01484, allocations: 11.81 kB / 0.7689 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.01485, allocations: 4 kB / 0.7689 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01485, allocations: 0 / 0.7689 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01485, allocations: 0 / 0.7689 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.01499, allocations: 203.4 kB / 0.7691 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.01501, allocations: 23.86 kB / 0.7691 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.01503, allocations: 3.938 kB / 0.7692 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.512e-05/0.01507, allocations: 11.98 kB / 0.7692 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.01511, allocations: 11.98 kB / 0.7692 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.01511, allocations: 7.984 kB / 0.7692 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.762e-05/0.01516, allocations: 62.92 kB / 0.7692 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01516, allocations: 0 / 0.7692 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002224/0.01538, allocations: 75.88 kB / 0.7693 GB, free: 12.77 MB / 0.7292 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.0001352/0.01552, allocations: 92.36 kB / 0.7694 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.01584, allocations: 435 kB / 0.7698 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.01584, allocations: 0 / 0.7698 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.605e-05/0.0159, allocations: 56.7 kB / 0.7699 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.01617, allocations: 66.78 kB / 0.7699 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.0166, allocations: 345.5 kB / 0.7703 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.62e-05/0.01665, allocations: 80.44 kB / 0.7703 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.77e-05/0.01672, allocations: 28.16 kB / 0.7704 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.0169, allocations: 115.3 kB / 0.7705 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of SimCode: time 4.498e-06/0.01691, allocations: 0 / 0.7705 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of Templates: time 0.00664/0.02355, allocations: 4.767 MB / 0.7751 GB, free: 6.984 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.385491440072656]