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.001629/0.001629, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002002/0.002002, allocations: 209.8 kB / 23 MB, free: 4.934 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.388/3.388, allocations: 0.505 GB / 0.8109 GB, free: 23.49 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.002114/0.002114, allocations: 66.92 kB / 1.178 GB, free: 16.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3584, allocations: 180.2 MB / 1.354 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002663/0.3611, allocations: 1.101 MB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.3633, allocations: 1.413 MB / 1.357 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.3634, allocations: 4 kB / 1.357 GB, free: 5.055 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.225e-05/0.3635, allocations: 19.73 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.3637, allocations: 63.5 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.3647, allocations: 381.6 kB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005839/0.3653, allocations: 463.1 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.3655, allocations: 71.61 kB / 1.357 GB, free: 4.086 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.3657, allocations: 179.5 kB / 1.358 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.366, allocations: 163.4 kB / 1.358 GB, free: 3.75 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.472e-05/0.3661, allocations: 51.94 kB / 1.358 GB, free: 3.699 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3662, allocations: 56 kB / 1.358 GB, free: 3.645 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.3662, allocations: 51.77 kB / 1.358 GB, free: 3.594 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.3664, allocations: 147.5 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005817/0.367, allocations: 498.3 kB / 1.359 GB, free: 2.961 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.367, allocations: 4 kB / 1.359 GB, free: 2.957 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.333e-06/0.367, allocations: 4 kB / 1.359 GB, free: 2.953 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.367, allocations: 0 / 1.359 GB, free: 2.953 MB / 1.045 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.0009525/0.368, allocations: 0.5567 MB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.368, allocations: 8.031 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.3681, allocations: 36.73 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.3685, allocations: 226.1 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.3685, allocations: 16.38 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.3686, allocations: 24.38 kB / 1.359 GB, free: 2.016 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.3688, allocations: 146 kB / 1.36 GB, free: 1.867 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3689, allocations: 3.938 kB / 1.36 GB, free: 1.863 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.3689, allocations: 12 kB / 1.36 GB, free: 1.852 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3689, allocations: 0 / 1.36 GB, free: 1.852 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.3691, allocations: 87.91 kB / 1.36 GB, free: 1.766 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009796/0.37, allocations: 0.5348 MB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.3702, allocations: 110.4 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.405e-05/0.3703, allocations: 53.08 kB / 1.36 GB, free: 1.027 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.3704, allocations: 4 kB / 1.36 GB, free: 1.023 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003059/0.3707, allocations: 156.6 kB / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.3707, allocations: 0 / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0004983/0.3712, allocations: 255.7 kB / 1.361 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.3712, allocations: 55.41 kB / 1.361 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.3714, allocations: 215 kB / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/0.3715, allocations: 37.7 kB / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3716, allocations: 136.6 kB / 1.361 GB, free: 144 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.3717, allocations: 59.52 kB / 1.361 GB, free: 84 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.3719, allocations: 89.7 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.372, allocations: 330.8 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.3724, allocations: 225 kB / 1.362 GB, free: 15.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.3728, allocations: 310.4 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.3732, allocations: 342.3 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.3732, allocations: 0 / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009258/0.3741, allocations: 0.597 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.293e-05/0.3742, allocations: 105.1 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3742, allocations: 0 / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3742, allocations: 4 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3744, allocations: 16 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.3744, allocations: 11.92 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.3749, allocations: 92.05 kB / 1.363 GB, free: 13.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.375, allocations: 23.98 kB / 1.363 GB, free: 13.77 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.0001721/0.3751, allocations: 153.7 kB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.3752, allocations: 19.86 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.3755, allocations: 211.4 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3755, allocations: 4 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3755, allocations: 0 / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3756, allocations: 23.8 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.3756, allocations: 11.92 kB / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.325e-05/0.3757, allocations: 4 kB / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.3757, allocations: 19.91 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003533/0.3761, allocations: 266.6 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003897/0.3765, allocations: 372 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001065/0.3766, allocations: 55.97 kB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001863/0.3768, allocations: 156.4 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of Backend: time 3.31e-07/0.3768, allocations: 3.938 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.3781, allocations: 0.5369 MB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of SimCode: time 0.001017/0.3791, allocations: 0.8108 MB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of Templates: time 0.009819/0.3889, allocations: 4.821 MB / 1.371 GB, free: 6.297 MB / 1.061 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/jenkins1/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: 9.581279234000249]