Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.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.001846/0.001846, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002145/0.002145, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 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.499/3.499, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.127e-05, allocations: 3.188 kB / 0.8775 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002568/0.002599, allocations: 1.079 MB / 0.8785 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.004621, allocations: 1.308 MB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.004765, allocations: 4 kB / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.004919, allocations: 20.8 kB / 0.8798 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.359e-05/0.005013, allocations: 31.67 kB / 0.8798 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.005588, allocations: 196.6 kB / 0.88 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.006002, allocations: 303.9 kB / 0.8803 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.006206, allocations: 84.95 kB / 0.8804 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.006441, allocations: 163.7 kB / 0.8806 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.006605, allocations: 83.75 kB / 0.8806 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.363e-05/0.006668, allocations: 39.23 kB / 0.8807 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.006776, allocations: 43.98 kB / 0.8807 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.006843, allocations: 55.83 kB / 0.8808 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.006965, allocations: 79.81 kB / 0.8808 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005356/0.0075, allocations: 414.7 kB / 0.8812 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.007504, allocations: 0 / 0.8812 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.232e-06/0.007505, allocations: 0 / 0.8812 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.007512, allocations: 0 / 0.8812 GB, free: 2.762 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009909/0.008503, allocations: 0.5683 MB / 0.8818 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.008541, allocations: 9.688 kB / 0.8818 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.00866, allocations: 44.83 kB / 0.8818 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008052/0.009465, allocations: 214.4 kB / 0.8821 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.009498, allocations: 21.14 kB / 0.8821 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.009543, allocations: 24.38 kB / 0.8821 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.009892, allocations: 191.8 kB / 0.8823 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.009903, allocations: 192 / 0.8823 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.009929, allocations: 8.375 kB / 0.8823 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.009937, allocations: 5.844 kB / 0.8823 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.01017, allocations: 120.1 kB / 0.8824 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.01126, allocations: 0.6004 MB / 0.883 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.01158, allocations: 151.2 kB / 0.8831 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.01171, allocations: 63.66 kB / 0.8832 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.01172, allocations: 4 kB / 0.8832 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.01201, allocations: 166.6 kB / 0.8834 GB, free: 448 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.01201, allocations: 0 / 0.8834 GB, free: 448 kB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0005283/0.01253, allocations: 249.4 kB / 0.8836 GB, free: 192 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.01259, allocations: 55.41 kB / 0.8837 GB, free: 124 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.01287, allocations: 264.1 kB / 0.8839 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.01291, allocations: 37.7 kB / 0.8839 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.01306, allocations: 195.2 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.01312, allocations: 51.62 kB / 0.8842 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.01325, allocations: 75.34 kB / 0.8842 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002812/0.01353, allocations: 0.504 MB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.01373, allocations: 113.6 kB / 0.8848 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.01398, allocations: 175.8 kB / 0.885 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.01428, allocations: 210.1 kB / 0.8852 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01428, allocations: 0 / 0.8852 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005764/0.01486, allocations: 324.7 kB / 0.8855 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/0.01491, allocations: 47.97 kB / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01492, allocations: 0 / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.01494, allocations: 8 kB / 0.8856 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.01504, allocations: 19.92 kB / 0.8856 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.01505, allocations: 4 kB / 0.8856 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.01525, allocations: 40.03 kB / 0.8856 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.01529, allocations: 15.98 kB / 0.8857 GB, free: 13.93 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.norTimDel.tunEndDel.u,$whenCondition4,$whenCondition5,$PRE.norTimDel.tunEndDel.t_next,$whenCondition1,norTimDel.tunEndDel.t_next,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.u,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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.0001864/0.01547, allocations: 184.5 kB / 0.8858 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.01552, allocations: 31.83 kB / 0.8859 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.01557, allocations: 17.81 kB / 0.8859 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01557, allocations: 0 / 0.8859 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.01558, allocations: 0 / 0.8859 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01558, allocations: 0 / 0.8859 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007755/0.01636, allocations: 0.5672 MB / 0.8864 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01636, allocations: 0 / 0.8864 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.01642, allocations: 11.94 kB / 0.8864 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01643, allocations: 0 / 0.8864 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.01644, allocations: 7.984 kB / 0.8865 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01644, allocations: 0 / 0.8865 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01645, allocations: 4 kB / 0.8865 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.01688, allocations: 355.3 kB / 0.8868 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.01696, allocations: 35.81 kB / 0.8868 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.01699, allocations: 8 kB / 0.8868 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01709, allocations: 12.02 kB / 0.8868 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.01717, allocations: 19.97 kB / 0.8869 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.01719, allocations: 11.98 kB / 0.8869 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001666/0.01735, allocations: 188.1 kB / 0.8871 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01735, allocations: 0 / 0.8871 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003101/0.01766, allocations: 51.89 kB / 0.8871 GB, free: 12.37 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,norTimDel.gre.greHys.y,norTimDel.or2.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.t_next,rho.booPul.y,norTimDel.tunEndDel.u) * Number of discrete states: 2 (norTimDel.tunEndDel.t_next,norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002244/0.01789, allocations: 115.4 kB / 0.8872 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005337/0.01842, allocations: 304.5 kB / 0.8875 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01842, allocations: 0 / 0.8875 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.01858, allocations: 83.59 kB / 0.8876 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.01894, allocations: 46.88 kB / 0.8876 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.01969, allocations: 364.6 kB / 0.888 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.01982, allocations: 121.2 kB / 0.8881 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.92e-05/0.01989, allocations: 17.48 kB / 0.8881 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.01994, allocations: 20.5 kB / 0.8881 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of SimCode: time 7.91e-07/0.01994, allocations: 0 / 0.8881 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of Templates: time 0.00757/0.02751, allocations: 2.684 MB / 0.8908 GB, free: 8.648 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.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: 8.549000410013832]