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.0009761/0.0009761, allocations: 85.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009956/0.0009956, allocations: 169 kB / 23.27 MB, free: 1.223 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.9217/0.9217, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.291/2.291, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.633e-06/1.633e-06, allocations: 0 / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.769e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.004896/0.004914, allocations: 1.071 MB / 0.8908 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.006416, allocations: 1.326 MB / 0.8921 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.006532, allocations: 4 kB / 0.8921 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.006661, allocations: 23.73 kB / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-05/0.006731, allocations: 31.67 kB / 0.8922 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.007156, allocations: 191.6 kB / 0.8923 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003285/0.01044, allocations: 303.9 kB / 0.8926 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.0106, allocations: 83.59 kB / 0.8927 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.01079, allocations: 175.6 kB / 0.8929 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.0109, allocations: 71.77 kB / 0.8929 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.01095, allocations: 32 kB / 0.893 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.758e-05/0.01102, allocations: 51.97 kB / 0.893 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.01106, allocations: 47.83 kB / 0.8931 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.062e-05/0.01114, allocations: 79.81 kB / 0.8931 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.0114, allocations: 210.7 kB / 0.8933 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.0114, allocations: 0 / 0.8933 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.22e-07/0.0114, allocations: 0 / 0.8933 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.01141, allocations: 0 / 0.8933 GB, free: 6.039 MB / 0.8542 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.0006122/0.01202, allocations: 0.5679 MB / 0.8939 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.01206, allocations: 12.62 kB / 0.8939 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/0.01212, allocations: 44.8 kB / 0.894 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.01235, allocations: 209.6 kB / 0.8942 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.01238, allocations: 20.69 kB / 0.8942 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.01241, allocations: 24.38 kB / 0.8942 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.01258, allocations: 151.2 kB / 0.8943 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.01259, allocations: 4.172 kB / 0.8943 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.01261, allocations: 4.375 kB / 0.8944 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.01261, allocations: 4.375 kB / 0.8944 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.01283, allocations: 60.47 kB / 0.8944 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003643/0.01647, allocations: 0.5116 MB / 0.8949 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.01661, allocations: 91.12 kB / 0.895 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/0.01666, allocations: 35.61 kB / 0.895 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.01666, allocations: 4 kB / 0.895 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.01682, allocations: 142.6 kB / 0.8952 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.01682, allocations: 0 / 0.8952 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17): time 0.0002662/0.01709, allocations: 181.4 kB / 0.8953 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.01712, allocations: 59.41 kB / 0.8954 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.01725, allocations: 234.7 kB / 0.8956 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.01728, allocations: 33.7 kB / 0.8957 GB, free: 3.477 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.01736, allocations: 183.2 kB / 0.8958 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.01739, allocations: 43.66 kB / 0.8959 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.01747, allocations: 59.34 kB / 0.8959 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.01759, allocations: 0.5001 MB / 0.8964 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.01766, allocations: 65.67 kB / 0.8965 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.01777, allocations: 124.4 kB / 0.8966 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.01791, allocations: 157.4 kB / 0.8968 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.01791, allocations: 4 kB / 0.8968 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002883/0.0182, allocations: 255 kB / 0.897 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.01823, allocations: 41.69 kB / 0.897 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01823, allocations: 0 / 0.897 GB, free: 1.949 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01825, allocations: 4 kB / 0.897 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.178e-05/0.01832, allocations: 24.09 kB / 0.8971 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.01832, allocations: 4 kB / 0.8971 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.01845, allocations: 39.81 kB / 0.8971 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.01846, allocations: 8 kB / 0.8971 GB, free: 1.871 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 9.484e-05/0.01856, allocations: 180.4 kB / 0.8973 GB, free: 1.684 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.01859, allocations: 27.84 kB / 0.8973 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.01863, allocations: 21.8 kB / 0.8973 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01863, allocations: 0 / 0.8973 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.01863, allocations: 4 kB / 0.8973 GB, free: 1.629 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01864, allocations: 4 kB / 0.8973 GB, free: 1.625 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.01902, allocations: 453.4 kB / 0.8978 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01902, allocations: 0 / 0.8978 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.01906, allocations: 15.94 kB / 0.8978 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01906, allocations: 4 kB / 0.8978 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.01907, allocations: 3.984 kB / 0.8978 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.01908, allocations: 8 kB / 0.8978 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01908, allocations: 0 / 0.8978 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/0.0223, allocations: 311.2 kB / 0.8981 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.02235, allocations: 35.91 kB / 0.8981 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.02237, allocations: 8 kB / 0.8981 GB, free: 0.7422 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.02244, allocations: 7.984 kB / 0.8982 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.02248, allocations: 15.97 kB / 0.8982 GB, free: 0.7188 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.0225, allocations: 11.98 kB / 0.8982 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.557e-05/0.02256, allocations: 156.6 kB / 0.8983 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02256, allocations: 0 / 0.8983 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002672/0.02283, allocations: 51.89 kB / 0.8984 GB, free: 0.5039 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.000125/0.02295, allocations: 122.7 kB / 0.8985 GB, free: 384 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.02318, allocations: 211.2 kB / 0.8987 GB, free: 152 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.02318, allocations: 0 / 0.8987 GB, free: 152 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.394e-05/0.02325, allocations: 53.62 kB / 0.8987 GB, free: 96 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.02352, allocations: 39.84 kB / 0.8988 GB, free: 56 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.02397, allocations: 326.8 kB / 0.8991 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.069e-05/0.02402, allocations: 75.98 kB / 0.8992 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.795e-05/0.02407, allocations: 17.47 kB / 0.8992 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.0242, allocations: 110.2 kB / 0.8993 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of SimCode: time 7.92e-07/0.02421, allocations: 0 / 0.8993 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of Templates: time 0.0096/0.03381, allocations: 2.858 MB / 0.9021 GB, free: 12.73 MB / 0.8698 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.181982778944075]