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.001384/0.001384, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001455/0.001455, allocations: 217.8 kB / 23 MB, free: 4.969 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.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 3.322/3.322, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 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.002076/0.002076, allocations: 76.19 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4313, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002727/0.434, allocations: 1.097 MB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.4363, allocations: 1.424 MB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.4364, allocations: 0 / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.311e-05/0.4364, allocations: 19.69 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.4366, allocations: 59.56 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009921/0.4376, allocations: 380.3 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005567/0.4382, allocations: 463.2 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.4384, allocations: 75.59 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.4386, allocations: 179.5 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.4389, allocations: 159.5 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.4389, allocations: 51.88 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.4391, allocations: 63.98 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.988e-05/0.4391, allocations: 51.83 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001928/0.4393, allocations: 143.5 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006074/0.4399, allocations: 498.3 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4399, allocations: 0 / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4399, allocations: 4 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.4399, allocations: 0 / 1.332 GB, free: 12.4 MB / 1.029 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.00105/0.441, allocations: 0.5501 MB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.441, allocations: 12.03 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.4411, allocations: 32.75 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.4415, allocations: 222.3 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.4416, allocations: 16.38 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.4417, allocations: 36.36 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.442, allocations: 142 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.442, allocations: 3.938 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.442, allocations: 8 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.442, allocations: 4 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.4422, allocations: 95.89 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.4432, allocations: 0.5387 MB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.4434, allocations: 98.48 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/0.4435, allocations: 44.84 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.4436, allocations: 4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003125/0.4439, allocations: 147.2 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/0.4439, allocations: 0 / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005167/0.4444, allocations: 258.8 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.4445, allocations: 59.39 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.4447, allocations: 218.7 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-05/0.4447, allocations: 37.69 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.4449, allocations: 144.6 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.4449, allocations: 59.52 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.4451, allocations: 77.67 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4453, allocations: 334.8 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.4456, allocations: 229 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.446, allocations: 318.1 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.4465, allocations: 338.3 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4465, allocations: 0 / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009261/0.4474, allocations: 0.6008 MB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.771e-05/0.4475, allocations: 105.1 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.4475, allocations: 4 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.4475, allocations: 4 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4476, allocations: 27.92 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.4477, allocations: 4 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/0.4482, allocations: 88.05 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.4482, allocations: 23.98 kB / 1.336 GB, free: 7.211 MB / 1.029 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.000176/0.4484, allocations: 153.7 kB / 1.336 GB, free: 7.051 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.4484, allocations: 23.86 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.4488, allocations: 208.9 kB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4488, allocations: 0 / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4488, allocations: 4 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.4488, allocations: 23.83 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.4489, allocations: 4 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.928e-05/0.4489, allocations: 4 kB / 1.337 GB, free: 6.781 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.449, allocations: 23.94 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003563/0.4493, allocations: 266.4 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004093/0.4498, allocations: 372.2 kB / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001314/0.4499, allocations: 59.95 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001492/0.45, allocations: 156.4 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of Backend: time 6.91e-07/0.45, allocations: 3.938 kB / 1.338 GB, free: 5.898 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.4511, allocations: 0.5449 MB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of SimCode: time 0.001171/0.4523, allocations: 0.805 MB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of Templates: time 0.01007/0.4623, allocations: 4.818 MB / 1.344 GB, free: 15.75 MB / 1.045 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=400 -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.603645624003548]