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.001705/0.001705, allocations: 108.6 kB / 16.45 MB, free: 6.453 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.002251/0.002251, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.608/1.608, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.379/3.379, allocations: 0.4899 GB / 0.7915 GB, free: 33.41 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.003032/0.003032, allocations: 66.58 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4452, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.00358/0.4488, allocations: 1.193 MB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.4516, allocations: 1.436 MB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.4518, allocations: 4 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.015e-05/0.4519, allocations: 23.67 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.4521, allocations: 59.56 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.4535, allocations: 376.4 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00074/0.4542, allocations: 459 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.4544, allocations: 67.06 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.4547, allocations: 183.5 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.455, allocations: 171.3 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.4551, allocations: 48 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.4553, allocations: 63.97 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.4554, allocations: 39.86 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.4556, allocations: 175.3 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000754/0.4564, allocations: 498.2 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4564, allocations: 0 / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4564, allocations: 0 / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.4564, allocations: 0 / 1.326 GB, free: 14.09 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.00121/0.4576, allocations: 0.6321 MB / 1.327 GB, free: 13.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4576, allocations: 15.97 kB / 1.327 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.4578, allocations: 32.75 kB / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.4583, allocations: 272.2 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.4583, allocations: 20.31 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.411e-05/0.4584, allocations: 28.38 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.4587, allocations: 146 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4587, allocations: 3.938 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.4588, allocations: 4 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4588, allocations: 8 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.459, allocations: 87.95 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.4605, allocations: 0.6988 MB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.4608, allocations: 106.5 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.4609, allocations: 44.84 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.4609, allocations: 8 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003973/0.4613, allocations: 149.3 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.4613, allocations: 0 / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0007134/0.462, allocations: 251.2 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.4621, allocations: 59.41 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.4624, allocations: 214.7 kB / 1.329 GB, free: 11.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.287e-05/0.4625, allocations: 45.69 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.4626, allocations: 140.6 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.4627, allocations: 55.58 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.4629, allocations: 81.67 kB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4631, allocations: 338.7 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.4635, allocations: 131.9 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.464, allocations: 205.4 kB / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.4647, allocations: 334.4 kB / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4647, allocations: 0 / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001217/0.4659, allocations: 0.4984 MB / 1.33 GB, free: 9.188 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.4661, allocations: 105.1 kB / 1.33 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.4661, allocations: 8 kB / 1.33 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.4661, allocations: 7.938 kB / 1.33 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.4663, allocations: 23.92 kB / 1.33 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.4663, allocations: 7.984 kB / 1.33 GB, free: 9.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007201/0.467, allocations: 91.8 kB / 1.331 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/0.4671, allocations: 23.98 kB / 1.331 GB, free: 8.906 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.000237/0.4673, allocations: 151.5 kB / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.4674, allocations: 23.86 kB / 1.331 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005155/0.4679, allocations: 203.4 kB / 1.331 GB, free: 8.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4679, allocations: 4 kB / 1.331 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4679, allocations: 3.984 kB / 1.331 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4679, allocations: 4 kB / 1.331 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009804/0.4689, allocations: 0.5545 MB / 1.332 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4689, allocations: 0 / 1.332 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.249e-05/0.469, allocations: 19.92 kB / 1.332 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.469, allocations: 4 kB / 1.332 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.469, allocations: 0 / 1.332 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.469, allocations: 0 / 1.332 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.469, allocations: 7.938 kB / 1.332 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.4695, allocations: 297.5 kB / 1.332 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.842e-05/0.4696, allocations: 96.97 kB / 1.332 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.4696, allocations: 3.984 kB / 1.332 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.4697, allocations: 8 kB / 1.332 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.4698, allocations: 19.86 kB / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.4698, allocations: 11.98 kB / 1.332 GB, free: 7.406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001912/0.47, allocations: 152.4 kB / 1.332 GB, free: 7.258 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.47, allocations: 0 / 1.332 GB, free: 7.258 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005476/0.4705, allocations: 71.89 kB / 1.332 GB, free: 7.188 MB / 1.029 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.0002218/0.4708, allocations: 124.1 kB / 1.332 GB, free: 7.055 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000915/0.4717, allocations: 410 kB / 1.333 GB, free: 6.617 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4717, allocations: 3.938 kB / 1.333 GB, free: 6.613 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.472, allocations: 67.91 kB / 1.333 GB, free: 6.547 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/0.4726, allocations: 60.86 kB / 1.333 GB, free: 6.488 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.4737, allocations: 380 kB / 1.333 GB, free: 6.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.4743, allocations: 0.7398 MB / 1.334 GB, free: 5.324 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.635e-05/0.4743, allocations: 21.95 kB / 1.334 GB, free: 5.305 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.4744, allocations: 19.44 kB / 1.334 GB, free: 5.285 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4744, allocations: 4 kB / 1.334 GB, free: 5.281 MB / 1.029 GB Notification: Performance of Templates: time 0.009254/0.4836, allocations: 4.047 MB / 1.338 GB, free: 1.324 MB / 1.029 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/jenkins/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.712268012110144]