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.001049/0.001049, allocations: 92.22 kB / 19.65 MB, free: 280 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.00105/0.00105, allocations: 169 kB / 23.02 MB, free: 1.555 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 0.9803/0.9803, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 2.201/2.201, allocations: 429.5 MB / 0.6733 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] 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 1.754e-06/1.754e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.765e-05, allocations: 7.906 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002103/0.002121, allocations: 1.108 MB / 0.8793 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.003648, allocations: 1.323 MB / 0.8806 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.003769, allocations: 7.938 kB / 0.8806 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.0039, allocations: 20.33 kB / 0.8806 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.367e-05/0.003974, allocations: 37.02 kB / 0.8806 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.004502, allocations: 195.5 kB / 0.8808 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.004805, allocations: 305.1 kB / 0.8811 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.004971, allocations: 79.61 kB / 0.8812 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.005148, allocations: 163.7 kB / 0.8813 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.005286, allocations: 88.69 kB / 0.8814 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.005332, allocations: 32 kB / 0.8815 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.123e-05/0.005414, allocations: 49.52 kB / 0.8815 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.005461, allocations: 55.81 kB / 0.8816 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.348e-05/0.005555, allocations: 83.81 kB / 0.8816 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.005836, allocations: 219.2 kB / 0.8818 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.005838, allocations: 0 / 0.8818 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.52e-07/0.005839, allocations: 1.281 kB / 0.8818 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.005843, allocations: 0 / 0.8818 GB, free: 2.586 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.0006882/0.006531, allocations: 0.5573 MB / 0.8824 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.006569, allocations: 8.031 kB / 0.8824 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.031e-05/0.006659, allocations: 44.23 kB / 0.8824 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.006976, allocations: 218.4 kB / 0.8826 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.007005, allocations: 16.7 kB / 0.8827 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.034e-05/0.007046, allocations: 24.38 kB / 0.8827 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.007302, allocations: 171.1 kB / 0.8828 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.007316, allocations: 4.172 kB / 0.8828 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.007334, allocations: 4.375 kB / 0.8829 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.007343, allocations: 4.375 kB / 0.8829 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.007475, allocations: 76.09 kB / 0.8829 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007616/0.008237, allocations: 0.5384 MB / 0.8835 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.008432, allocations: 99.2 kB / 0.8836 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.835e-05/0.0085, allocations: 43.55 kB / 0.8836 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.008509, allocations: 0 / 0.8836 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.008691, allocations: 150.6 kB / 0.8837 GB, free: 500 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.008692, allocations: 0 / 0.8837 GB, free: 500 kB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003617/0.009054, allocations: 199.2 kB / 0.8839 GB, free: 296 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.009088, allocations: 55.41 kB / 0.884 GB, free: 228 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.009257, allocations: 235.3 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.009286, allocations: 33.7 kB / 0.8842 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.00938, allocations: 183.2 kB / 0.8844 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.009416, allocations: 47.62 kB / 0.8845 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.239e-05/0.009509, allocations: 63.34 kB / 0.8845 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.009638, allocations: 0.4923 MB / 0.885 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.009762, allocations: 77.61 kB / 0.8851 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.00991, allocations: 141.6 kB / 0.8852 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/0.01041, allocations: 155.8 kB / 0.8854 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.01042, allocations: 0 / 0.8854 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003763/0.01079, allocations: 271 kB / 0.8856 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.01083, allocations: 41.69 kB / 0.8857 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01083, allocations: 4.156 kB / 0.8857 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.01085, allocations: 4 kB / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.01095, allocations: 27.92 kB / 0.8857 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.01095, allocations: 8 kB / 0.8857 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.01109, allocations: 27.88 kB / 0.8857 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.01112, allocations: 15.98 kB / 0.8857 GB, free: 14.29 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.0001053/0.01122, allocations: 176.5 kB / 0.8859 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.01126, allocations: 27.83 kB / 0.8859 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.01129, allocations: 21.81 kB / 0.886 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01129, allocations: 0 / 0.886 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.0113, allocations: 0 / 0.886 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.0113, allocations: 0 / 0.886 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.01179, allocations: 0.4958 MB / 0.8864 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.01179, allocations: 4 kB / 0.8864 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.01184, allocations: 19.88 kB / 0.8865 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01184, allocations: 3.984 kB / 0.8865 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01185, allocations: 4 kB / 0.8865 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.01186, allocations: 3.984 kB / 0.8865 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01186, allocations: 4.031 kB / 0.8865 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.01213, allocations: 319.3 kB / 0.8868 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.01218, allocations: 31.89 kB / 0.8868 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.0122, allocations: 4 kB / 0.8868 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.01228, allocations: 7.984 kB / 0.8868 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.01234, allocations: 19.97 kB / 0.8868 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.01236, allocations: 7.984 kB / 0.8868 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.792e-05/0.01244, allocations: 163.2 kB / 0.887 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01244, allocations: 3.938 kB / 0.887 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003022/0.01275, allocations: 55.89 kB / 0.8871 GB, free: 12.85 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.0001307/0.01288, allocations: 119.4 kB / 0.8872 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.01318, allocations: 223.1 kB / 0.8874 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.01318, allocations: 4 kB / 0.8874 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.796e-05/0.01327, allocations: 59.59 kB / 0.8874 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.01358, allocations: 40.28 kB / 0.8875 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.0141, allocations: 326.5 kB / 0.8878 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.439e-05/0.01416, allocations: 75.98 kB / 0.8879 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.07e-05/0.01422, allocations: 21.47 kB / 0.8879 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.01426, allocations: 16.5 kB / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.01426, allocations: 0 / 0.8879 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of Templates: time 0.005245/0.01951, allocations: 2.689 MB / 0.8905 GB, free: 9.305 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.712565114721656]