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.001481/0.001481, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001933/0.001933, allocations: 218.8 kB / 22.25 MB, free: 4.852 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.713/1.713, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.621/3.621, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: 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.002171/0.002171, allocations: 77.3 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4306, allocations: 181.9 MB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.003081/0.4337, allocations: 1.101 MB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.4366, allocations: 1.425 MB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.4368, allocations: 7.938 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.082e-05/0.4369, allocations: 19.73 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.4372, allocations: 51.58 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.4383, allocations: 379.7 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008051/0.4391, allocations: 467.1 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.4394, allocations: 71.59 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/0.4397, allocations: 175.5 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.44, allocations: 147.4 kB / 1.368 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.4401, allocations: 48 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.4403, allocations: 55.98 kB / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.4405, allocations: 47.84 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.4407, allocations: 151.4 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000705/0.4414, allocations: 498.3 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4414, allocations: 4 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4414, allocations: 4 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.4414, allocations: 3.938 kB / 1.368 GB, free: 9.082 MB / 1.061 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.001099/0.4425, allocations: 0.5451 MB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.4426, allocations: 11.97 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.4427, allocations: 32.8 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.4431, allocations: 229.9 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.4431, allocations: 20.38 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.4432, allocations: 24.38 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.4435, allocations: 142 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4435, allocations: 3.938 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.4435, allocations: 12 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4435, allocations: 4 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.4437, allocations: 87.95 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.4448, allocations: 0.5387 MB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.445, allocations: 109.4 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.453e-05/0.4451, allocations: 49.09 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.4451, allocations: 0 / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003024/0.4454, allocations: 156.9 kB / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.4454, allocations: 0 / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0006354/0.4461, allocations: 249.4 kB / 1.371 GB, free: 6.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.4461, allocations: 55.41 kB / 1.371 GB, free: 6.684 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.4464, allocations: 207.2 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.58e-05/0.4464, allocations: 37.7 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.4466, allocations: 156.4 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.4467, allocations: 47.58 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.4468, allocations: 89.66 kB / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002631/0.4471, allocations: 330.8 kB / 1.371 GB, free: 5.797 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.4474, allocations: 221 kB / 1.372 GB, free: 5.562 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.4479, allocations: 310.4 kB / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/0.4484, allocations: 334.4 kB / 1.372 GB, free: 4.828 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.4484, allocations: 3.938 kB / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009671/0.4494, allocations: 0.5931 MB / 1.373 GB, free: 4.188 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.494e-05/0.4495, allocations: 109.1 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4495, allocations: 48 / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.4495, allocations: 7.984 kB / 1.373 GB, free: 4.055 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4497, allocations: 27.92 kB / 1.373 GB, free: 4.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.4497, allocations: 4 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.4502, allocations: 92 kB / 1.373 GB, free: 3.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.4502, allocations: 27.98 kB / 1.373 GB, free: 3.906 MB / 1.061 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.0001786/0.4504, allocations: 155.1 kB / 1.373 GB, free: 3.746 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.4505, allocations: 15.91 kB / 1.373 GB, free: 3.73 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.4508, allocations: 213.7 kB / 1.373 GB, free: 3.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4508, allocations: 0 / 1.373 GB, free: 3.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.4508, allocations: 8 kB / 1.373 GB, free: 3.512 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4508, allocations: 3.938 kB / 1.373 GB, free: 3.508 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/0.4516, allocations: 485.9 kB / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4516, allocations: 0 / 1.374 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.4517, allocations: 19.92 kB / 1.374 GB, free: 2.977 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4517, allocations: 0 / 1.374 GB, free: 2.977 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.4517, allocations: 8 kB / 1.374 GB, free: 2.969 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4517, allocations: 0 / 1.374 GB, free: 2.969 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4517, allocations: 0 / 1.374 GB, free: 2.969 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.4521, allocations: 297.9 kB / 1.374 GB, free: 2.664 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.4521, allocations: 23.84 kB / 1.374 GB, free: 2.641 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.4521, allocations: 7.938 kB / 1.374 GB, free: 2.633 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.81e-05/0.4522, allocations: 4 kB / 1.374 GB, free: 2.629 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.4523, allocations: 15.97 kB / 1.374 GB, free: 2.613 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.4523, allocations: 12 kB / 1.374 GB, free: 2.602 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001547/0.4524, allocations: 147 kB / 1.374 GB, free: 2.457 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4524, allocations: 0 / 1.374 GB, free: 2.457 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003812/0.4528, allocations: 79.81 kB / 1.374 GB, free: 2.379 MB / 1.061 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.000284/0.4531, allocations: 107.2 kB / 1.375 GB, free: 2.262 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007637/0.4539, allocations: 0.5108 MB / 1.375 GB, free: 1.695 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4539, allocations: 0 / 1.375 GB, free: 1.695 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.454, allocations: 67.86 kB / 1.375 GB, free: 1.629 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.4545, allocations: 60.8 kB / 1.375 GB, free: 1.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007463/0.4552, allocations: 368 kB / 1.376 GB, free: 1.188 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.4554, allocations: 129.9 kB / 1.376 GB, free: 1.039 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.432e-05/0.4554, allocations: 29.94 kB / 1.376 GB, free: 1.008 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.035e-05/0.4555, allocations: 19.44 kB / 1.376 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.4555, allocations: 0 / 1.376 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of Templates: time 0.01046/0.466, allocations: 4.602 MB / 1.38 GB, free: 12.52 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.137710923328996]