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.001578/0.001578, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001789/0.001789, allocations: 213.8 kB / 22.99 MB, free: 4.41 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.112/3.112, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.002059/0.002059, allocations: 67.47 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3552, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.003332/0.3585, allocations: 1.101 MB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00264/0.3612, allocations: 1.428 MB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.3613, allocations: 4 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.05e-05/0.3614, allocations: 23.67 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.3616, allocations: 55.58 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009676/0.3626, allocations: 371.6 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005318/0.3631, allocations: 463.1 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.3633, allocations: 71.62 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.3636, allocations: 179.5 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.3638, allocations: 167.4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.288e-05/0.3639, allocations: 48 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.364, allocations: 56 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.3641, allocations: 55.78 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.3643, allocations: 143.5 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.3648, allocations: 0.4944 MB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3648, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3648, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.3649, allocations: 0 / 1.332 GB, free: 12.3 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.0009478/0.3658, allocations: 0.5451 MB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3658, allocations: 12.03 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.629e-05/0.3659, allocations: 40.73 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.3663, allocations: 218.3 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.3663, allocations: 20.36 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.991e-05/0.3664, allocations: 32.38 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.3667, allocations: 142 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3667, allocations: 7.875 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.3667, allocations: 11.92 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3667, allocations: 4 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.3669, allocations: 87.97 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.368, allocations: 0.5387 MB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.3682, allocations: 98.48 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.3683, allocations: 46.47 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.3683, allocations: 7.984 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.3686, allocations: 139.3 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.3686, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005343/0.3692, allocations: 260 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.3692, allocations: 59.39 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.3695, allocations: 222.7 kB / 1.334 GB, free: 9.676 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.3695, allocations: 33.7 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.3697, allocations: 144.5 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.3697, allocations: 55.53 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.3699, allocations: 85.66 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3701, allocations: 330.8 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.3704, allocations: 229 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.3708, allocations: 316.4 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.3712, allocations: 338.3 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3712, allocations: 3.938 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009302/0.3722, allocations: 0.601 MB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.479e-05/0.3722, allocations: 107 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3723, allocations: 4 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3723, allocations: 4 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.3724, allocations: 27.92 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.3724, allocations: 4 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/0.3729, allocations: 87.8 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.373, allocations: 27.97 kB / 1.336 GB, free: 7.109 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.0001742/0.3732, allocations: 149.7 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.3732, allocations: 19.86 kB / 1.336 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.3736, allocations: 207.4 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.3736, allocations: 4 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3736, allocations: 0 / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.3736, allocations: 3.984 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006473/0.3742, allocations: 487.3 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3743, allocations: 4 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.3743, allocations: 8 kB / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3743, allocations: 7.938 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.3743, allocations: 7.922 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3743, allocations: 4 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3743, allocations: 0 / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.3747, allocations: 301 kB / 1.337 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.3747, allocations: 11.91 kB / 1.337 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.3748, allocations: 12 kB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.3748, allocations: 3.984 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.3749, allocations: 19.94 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3749, allocations: 11.98 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001437/0.3751, allocations: 156.4 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3751, allocations: 0 / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000366/0.3754, allocations: 67.88 kB / 1.338 GB, free: 5.586 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.0001788/0.3756, allocations: 119.8 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007133/0.3763, allocations: 0.5073 MB / 1.338 GB, free: 4.895 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3763, allocations: 0 / 1.338 GB, free: 4.895 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.3764, allocations: 73.86 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004728/0.3769, allocations: 48.56 kB / 1.338 GB, free: 4.777 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/0.3776, allocations: 406 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.3778, allocations: 125.9 kB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.3778, allocations: 23.44 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3778, allocations: 0 / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of Templates: time 0.006068/0.3839, allocations: 3.443 MB / 1.342 GB, free: 0.7695 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/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.372598693007603]