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.001367/0.001367, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.00147/0.00147, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.47/1.47, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.922/2.922, allocations: 0.49 GB / 0.7923 GB, free: 1.246 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.002928/0.002928, allocations: 75.89 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.092, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.001993/1.094, allocations: 1.188 MB / 1.323 GB, free: 24.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001394/1.096, allocations: 1.438 MB / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/1.096, allocations: 0 / 1.325 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.543e-05/1.096, allocations: 26.06 kB / 1.325 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/1.096, allocations: 51.83 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000729/1.097, allocations: 369.8 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003518/1.097, allocations: 466.5 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/1.097, allocations: 79.42 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/1.097, allocations: 176.7 kB / 1.326 GB, free: 22.59 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/1.098, allocations: 165.1 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/1.098, allocations: 45.38 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.727e-05/1.098, allocations: 60.5 kB / 1.326 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.792e-05/1.098, allocations: 52.95 kB / 1.326 GB, free: 22.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/1.098, allocations: 165.6 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003708/1.098, allocations: 497.6 kB / 1.327 GB, free: 22.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.098, allocations: 0 / 1.327 GB, free: 22.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/1.098, allocations: 0 / 1.327 GB, free: 22.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.098, allocations: 0 / 1.327 GB, free: 22.2 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.0007477/1.099, allocations: 0.6309 MB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/1.099, allocations: 9.375 kB / 1.327 GB, free: 21.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/1.099, allocations: 35.22 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/1.099, allocations: 282.4 kB / 1.328 GB, free: 21.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/1.099, allocations: 21.27 kB / 1.328 GB, free: 21.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.726e-05/1.1, allocations: 28.44 kB / 1.328 GB, free: 21.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/1.1, allocations: 146.6 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.1, allocations: 4.969 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/1.1, allocations: 9.125 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/1.1, allocations: 3.812 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/1.1, allocations: 91.97 kB / 1.328 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009136/1.101, allocations: 0.6952 MB / 1.328 GB, free: 20.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/1.101, allocations: 100.8 kB / 1.329 GB, free: 20.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.551e-05/1.101, allocations: 47.59 kB / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/1.101, allocations: 6.891 kB / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/1.101, allocations: 141.1 kB / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/1.101, allocations: 0 / 1.329 GB, free: 20.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0004979/1.102, allocations: 249.4 kB / 1.329 GB, free: 20.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.102, allocations: 60.84 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/1.102, allocations: 223 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/1.102, allocations: 40.72 kB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.486e-05/1.102, allocations: 145.6 kB / 1.329 GB, free: 20.1 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/1.102, allocations: 51.84 kB / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/1.103, allocations: 88.75 kB / 1.33 GB, free: 20.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/1.103, allocations: 334.6 kB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/1.103, allocations: 128.1 kB / 1.33 GB, free: 19.65 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/1.103, allocations: 205.7 kB / 1.33 GB, free: 19.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/1.104, allocations: 337.2 kB / 1.331 GB, free: 19.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.104, allocations: 1.156 kB / 1.331 GB, free: 19.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007965/1.104, allocations: 0.5009 MB / 1.331 GB, free: 18.95 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/1.105, allocations: 101.9 kB / 1.331 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.105, allocations: 3.25 kB / 1.331 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.105, allocations: 4.266 kB / 1.331 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/1.105, allocations: 32.3 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.105, allocations: 3.938 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/1.105, allocations: 90 kB / 1.331 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/1.105, allocations: 22.14 kB / 1.331 GB, free: 18.82 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.0001392/1.105, allocations: 150.9 kB / 1.331 GB, free: 18.69 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/1.105, allocations: 21.34 kB / 1.331 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/1.106, allocations: 206.9 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/1.106, allocations: 2.031 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.106, allocations: 1.125 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.106, allocations: 9.438 kB / 1.332 GB, free: 18.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006011/1.106, allocations: 0.561 MB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.106, allocations: 1.547 kB / 1.332 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/1.106, allocations: 16.56 kB / 1.332 GB, free: 18.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.106, allocations: 1.062 kB / 1.332 GB, free: 18.15 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/1.106, allocations: 8.094 kB / 1.332 GB, free: 18.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/1.106, allocations: 0.9688 kB / 1.332 GB, free: 18.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.107, allocations: 4.641 kB / 1.332 GB, free: 18.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/1.107, allocations: 297.4 kB / 1.333 GB, free: 17.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/1.107, allocations: 95.86 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/1.107, allocations: 6.781 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/1.107, allocations: 5.5 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/1.107, allocations: 15.73 kB / 1.333 GB, free: 17.83 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/1.107, allocations: 11.03 kB / 1.333 GB, free: 17.83 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001267/1.107, allocations: 155.2 kB / 1.333 GB, free: 17.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.107, allocations: 0 / 1.333 GB, free: 17.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003843/1.108, allocations: 82.64 kB / 1.333 GB, free: 17.7 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.0001459/1.108, allocations: 114.4 kB / 1.333 GB, free: 17.61 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005999/1.108, allocations: 420.5 kB / 1.333 GB, free: 17.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.108, allocations: 0 / 1.333 GB, free: 17.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/1.108, allocations: 72.12 kB / 1.333 GB, free: 17.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/1.109, allocations: 55.88 kB / 1.334 GB, free: 17.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/1.11, allocations: 404.3 kB / 1.334 GB, free: 17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/1.11, allocations: 0.7462 MB / 1.335 GB, free: 16.29 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/1.11, allocations: 22.09 kB / 1.335 GB, free: 16.28 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.11, allocations: 0 / 1.335 GB, free: 16.28 MB / 1.061 GB Notification: Performance of Templates: time 0.007468/1.117, allocations: 3.374 MB / 1.338 GB, free: 15.93 MB / 1.061 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 -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: 11.845920103995013]