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.001563/0.001563, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001679/0.001679, allocations: 156.2 kB / 23.01 MB, free: 4.602 MB / 14.72 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.495/1.495, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.947/2.947, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002441/0.002441, allocations: 71.89 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9922/0.9946, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002873/0.9975, allocations: 1.106 MB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.9999, allocations: 1.418 MB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/1, allocations: 2.719 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 6.015e-05/1, allocations: 19.17 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002212/1, allocations: 58.7 kB / 1.156 GB, free: 31.53 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/1.001, allocations: 369.9 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005304/1.002, allocations: 468.4 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/1.002, allocations: 78.8 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/1.002, allocations: 179.5 kB / 1.158 GB, free: 30.97 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/1.003, allocations: 143 kB / 1.158 GB, free: 30.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.904e-05/1.003, allocations: 47.06 kB / 1.158 GB, free: 30.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/1.003, allocations: 58.08 kB / 1.158 GB, free: 30.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/1.003, allocations: 50.34 kB / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002128/1.003, allocations: 150.8 kB / 1.158 GB, free: 30.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005727/1.004, allocations: 498 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.004, allocations: 0 / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.874e-06/1.004, allocations: 0 / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.004, allocations: 0 / 1.158 GB, free: 30.61 MB / 1.076 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.0009087/1.005, allocations: 0.5458 MB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.005, allocations: 11.59 kB / 1.159 GB, free: 30.14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/1.005, allocations: 46.16 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/1.005, allocations: 224.7 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/1.005, allocations: 23.91 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/1.005, allocations: 26.72 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/1.006, allocations: 138 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/1.006, allocations: 3.938 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/1.006, allocations: 10.11 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/1.006, allocations: 2.719 kB / 1.159 GB, free: 29.83 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/1.006, allocations: 92.14 kB / 1.16 GB, free: 29.79 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/1.007, allocations: 0.5295 MB / 1.16 GB, free: 29.44 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/1.007, allocations: 109.4 kB / 1.16 GB, free: 29.37 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/1.007, allocations: 49.22 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/1.007, allocations: 3.281 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/1.008, allocations: 141.9 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 2.374e-06/1.008, allocations: 0 / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0005611/1.008, allocations: 257.5 kB / 1.161 GB, free: 29.16 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/1.008, allocations: 65.55 kB / 1.161 GB, free: 29.09 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/1.008, allocations: 219.9 kB / 1.161 GB, free: 28.94 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/1.009, allocations: 46.55 kB / 1.161 GB, free: 28.9 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/1.009, allocations: 140.7 kB / 1.161 GB, free: 28.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/1.009, allocations: 52.53 kB / 1.161 GB, free: 28.74 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/1.009, allocations: 86.22 kB / 1.161 GB, free: 28.7 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.009, allocations: 328.3 kB / 1.161 GB, free: 28.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/1.009, allocations: 226.6 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002891/1.01, allocations: 310.3 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/1.01, allocations: 340.2 kB / 1.162 GB, free: 27.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.01, allocations: 3.938 kB / 1.162 GB, free: 27.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007203/1.011, allocations: 0.5915 MB / 1.163 GB, free: 27.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.817e-05/1.011, allocations: 104.3 kB / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.011, allocations: 6.297 kB / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/1.011, allocations: 6.781 kB / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/1.011, allocations: 20.08 kB / 1.163 GB, free: 27.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.011, allocations: 9.719 kB / 1.163 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/1.011, allocations: 83.75 kB / 1.163 GB, free: 27.19 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/1.011, allocations: 31.84 kB / 1.163 GB, free: 27.18 MB / 1.076 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.0001461/1.011, allocations: 159.1 kB / 1.163 GB, free: 27.04 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/1.011, allocations: 19.98 kB / 1.163 GB, free: 27.03 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/1.012, allocations: 206.5 kB / 1.163 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.012, allocations: 2.938 kB / 1.163 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.012, allocations: 4 kB / 1.163 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.012, allocations: 3.094 kB / 1.163 GB, free: 26.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/1.012, allocations: 480.4 kB / 1.164 GB, free: 26.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.012, allocations: 0 / 1.164 GB, free: 26.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/1.012, allocations: 20.02 kB / 1.164 GB, free: 26.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.012, allocations: 0 / 1.164 GB, free: 26.59 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/1.012, allocations: 6.469 kB / 1.164 GB, free: 26.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.012, allocations: 0 / 1.164 GB, free: 26.59 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.012, allocations: 2.656 kB / 1.164 GB, free: 26.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/1.013, allocations: 303.4 kB / 1.164 GB, free: 26.39 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/1.013, allocations: 21.22 kB / 1.164 GB, free: 26.37 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/1.013, allocations: 6.062 kB / 1.164 GB, free: 26.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/1.013, allocations: 4 kB / 1.164 GB, free: 26.37 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/1.013, allocations: 15.98 kB / 1.164 GB, free: 26.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.013, allocations: 13.97 kB / 1.164 GB, free: 26.36 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001082/1.013, allocations: 148.2 kB / 1.164 GB, free: 26.26 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.013, allocations: 0 / 1.164 GB, free: 26.26 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003491/1.013, allocations: 75.44 kB / 1.165 GB, free: 26.25 MB / 1.076 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.000151/1.013, allocations: 117.1 kB / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005492/1.014, allocations: 0.502 MB / 1.165 GB, free: 25.76 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.014, allocations: 0.5 kB / 1.165 GB, free: 25.76 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.656e-05/1.014, allocations: 70.33 kB / 1.165 GB, free: 25.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/1.015, allocations: 60.08 kB / 1.165 GB, free: 25.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/1.015, allocations: 362.6 kB / 1.166 GB, free: 25.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.769e-05/1.015, allocations: 129.7 kB / 1.166 GB, free: 25.39 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.443e-05/1.015, allocations: 26.06 kB / 1.166 GB, free: 25.39 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/1.015, allocations: 21.88 kB / 1.166 GB, free: 25.38 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/1.015, allocations: 0 / 1.166 GB, free: 25.38 MB / 1.076 GB Notification: Performance of Templates: time 0.008263/1.024, allocations: 4.416 MB / 1.17 GB, free: 24.88 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.334576327935793]