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.001641/0.001641, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002263/0.002263, allocations: 217 kB / 22.25 MB, free: 5.082 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 8.02 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.458/3.458, allocations: 0.5049 GB / 0.81 GB, free: 22.02 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.00212/0.00212, allocations: 72.12 kB / 1.177 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4091, allocations: 180.2 MB / 1.353 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002715/0.4118, allocations: 1.195 MB / 1.354 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.414, allocations: 1.44 MB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.4141, allocations: 4 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.975e-05/0.4141, allocations: 23.67 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.4143, allocations: 51.59 kB / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009129/0.4152, allocations: 381.3 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005374/0.4157, allocations: 459.2 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.4159, allocations: 79.59 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.4161, allocations: 171.6 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.4164, allocations: 167.3 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.881e-05/0.4165, allocations: 48 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.4166, allocations: 59.98 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.202e-05/0.4166, allocations: 47.84 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.4168, allocations: 167.3 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005511/0.4174, allocations: 0.4982 MB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4174, allocations: 0 / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4174, allocations: 0 / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4174, allocations: 0 / 1.358 GB, free: 3.203 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.0009089/0.4183, allocations: 0.5529 MB / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4183, allocations: 8.031 kB / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.4184, allocations: 32.8 kB / 1.359 GB, free: 2.559 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.4188, allocations: 226.1 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.4188, allocations: 20.38 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.4189, allocations: 32.36 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.4191, allocations: 138 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.4192, allocations: 7.922 kB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.4192, allocations: 8 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4192, allocations: 4 kB / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.4194, allocations: 87.95 kB / 1.359 GB, free: 2.016 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.4205, allocations: 0.6667 MB / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.4207, allocations: 102.5 kB / 1.36 GB, free: 1.195 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.486e-05/0.4208, allocations: 53.03 kB / 1.36 GB, free: 1.141 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.4208, allocations: 4 kB / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/0.4211, allocations: 149.5 kB / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.704e-06/0.4211, allocations: 0 / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0004955/0.4216, allocations: 251 kB / 1.36 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.4216, allocations: 59.34 kB / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.4219, allocations: 218.9 kB / 1.36 GB, free: 448 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.4219, allocations: 33.7 kB / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.4221, allocations: 148.5 kB / 1.361 GB, free: 256 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.4221, allocations: 55.53 kB / 1.361 GB, free: 200 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.4223, allocations: 81.67 kB / 1.361 GB, free: 112 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4225, allocations: 334.8 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.4227, allocations: 131.9 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.4231, allocations: 205.3 kB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.4235, allocations: 346.2 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4235, allocations: 8 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008518/0.4244, allocations: 498.3 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.661e-05/0.4245, allocations: 105.1 kB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4245, allocations: 0 / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.4245, allocations: 4 kB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4246, allocations: 31.92 kB / 1.362 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.4246, allocations: 11.88 kB / 1.362 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.4251, allocations: 88.05 kB / 1.362 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.4252, allocations: 19.98 kB / 1.362 GB, free: 14.23 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.0001875/0.4254, allocations: 153.7 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.4254, allocations: 27.89 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.4258, allocations: 207.4 kB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.4258, allocations: 4 kB / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4258, allocations: 0 / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4258, allocations: 0 / 1.363 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007281/0.4265, allocations: 0.5419 MB / 1.363 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4265, allocations: 0 / 1.363 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.4266, allocations: 11.98 kB / 1.363 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.4266, allocations: 4 kB / 1.363 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.4266, allocations: 8 kB / 1.363 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4266, allocations: 0 / 1.363 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.4266, allocations: 7.938 kB / 1.363 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.4269, allocations: 288.8 kB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.427, allocations: 19.86 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.427, allocations: 7.984 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.4271, allocations: 8 kB / 1.364 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.4272, allocations: 15.91 kB / 1.364 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.4272, allocations: 15.94 kB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000145/0.4273, allocations: 152.4 kB / 1.364 GB, free: 12.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4273, allocations: 0 / 1.364 GB, free: 12.69 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000362/0.4277, allocations: 71.89 kB / 1.364 GB, free: 12.62 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.0001931/0.4279, allocations: 112.3 kB / 1.364 GB, free: 12.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006524/0.4285, allocations: 418.4 kB / 1.364 GB, free: 12.05 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4285, allocations: 4.062 kB / 1.364 GB, free: 12.05 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.4286, allocations: 63.92 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.4291, allocations: 56.41 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/0.4298, allocations: 379.8 kB / 1.365 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.4302, allocations: 0.7359 MB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.666e-05/0.4302, allocations: 21.95 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.4303, allocations: 23.42 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.4303, allocations: 3.938 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of Templates: time 0.009076/0.4393, allocations: 4.122 MB / 1.37 GB, free: 6.684 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/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: 9.882711857091635]