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.0009955/0.0009955, allocations: 89.06 kB / 19.65 MB, free: 276 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.0009671/0.0009671, allocations: 177.3 kB / 23.03 MB, free: 1.539 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.9289/0.9289, allocations: 177.1 MB / 203.4 MB, free: 5.398 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.111/2.111, allocations: 429.5 MB / 0.6732 GB, free: 4.062 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 2.585e-06/2.585e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.228e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.001975/0.002007, allocations: 1.109 MB / 0.8793 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.003385, allocations: 1.32 MB / 0.8805 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.003511, allocations: 7.938 kB / 0.8806 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.003648, allocations: 23.73 kB / 0.8806 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.736e-05/0.003716, allocations: 35.66 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.004166, allocations: 200.8 kB / 0.8808 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.004439, allocations: 303.9 kB / 0.8811 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.004599, allocations: 82.31 kB / 0.8812 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.004767, allocations: 171.6 kB / 0.8813 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.004882, allocations: 80.41 kB / 0.8814 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.004919, allocations: 32 kB / 0.8814 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.125e-05/0.004991, allocations: 40.48 kB / 0.8815 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.005036, allocations: 55.52 kB / 0.8815 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.587e-05/0.005122, allocations: 87.8 kB / 0.8816 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.005381, allocations: 207.3 kB / 0.8818 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.005383, allocations: 0 / 0.8818 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.383e-06/0.005385, allocations: 0 / 0.8818 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.00539, allocations: 0 / 0.8818 GB, free: 2.613 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.0006142/0.006004, allocations: 0.5485 MB / 0.8824 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.006041, allocations: 8.031 kB / 0.8824 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.006121, allocations: 40.8 kB / 0.8824 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.006362, allocations: 215.8 kB / 0.8826 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.006388, allocations: 24.64 kB / 0.8826 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.006416, allocations: 24.36 kB / 0.8827 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.006606, allocations: 167.1 kB / 0.8828 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.006614, allocations: 1.156 kB / 0.8828 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.006633, allocations: 12.36 kB / 0.8828 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.00664, allocations: 5.969 kB / 0.8828 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.006735, allocations: 64.48 kB / 0.8829 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.007353, allocations: 0.5408 MB / 0.8834 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.007514, allocations: 107 kB / 0.8835 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.007566, allocations: 39.66 kB / 0.8836 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.007575, allocations: 0 / 0.8836 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.00773, allocations: 146.7 kB / 0.8837 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.273e-06/0.007732, allocations: 2.062 kB / 0.8837 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002829/0.008014, allocations: 195.4 kB / 0.8839 GB, free: 344 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.008051, allocations: 55.41 kB / 0.8839 GB, free: 276 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.008187, allocations: 235.3 kB / 0.8842 GB, free: 24 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.008222, allocations: 33.7 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.978e-05/0.008301, allocations: 184 kB / 0.8844 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.008329, allocations: 47.64 kB / 0.8844 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.008396, allocations: 65 kB / 0.8845 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.008506, allocations: 0.4962 MB / 0.885 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.321e-05/0.00859, allocations: 69.67 kB / 0.885 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.008693, allocations: 137.5 kB / 0.8852 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.008828, allocations: 167.3 kB / 0.8853 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.00883, allocations: 3.938 kB / 0.8853 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002562/0.009086, allocations: 268.7 kB / 0.8856 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.009114, allocations: 37.69 kB / 0.8856 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.009119, allocations: 0 / 0.8856 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.009132, allocations: 4 kB / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.009217, allocations: 23.98 kB / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.009224, allocations: 3.938 kB / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.009336, allocations: 36.03 kB / 0.8857 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.009356, allocations: 15.98 kB / 0.8857 GB, free: 14.34 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 8.692e-05/0.009443, allocations: 172.6 kB / 0.8859 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.009466, allocations: 31.83 kB / 0.8859 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.009496, allocations: 13.81 kB / 0.8859 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.009499, allocations: 7.938 kB / 0.8859 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.009504, allocations: 0 / 0.8859 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.009507, allocations: 3.938 kB / 0.8859 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.009885, allocations: 0.4961 MB / 0.8864 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.009887, allocations: 3.984 kB / 0.8864 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.009917, allocations: 8 kB / 0.8864 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.009921, allocations: 4 kB / 0.8864 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.009931, allocations: 4 kB / 0.8864 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.009934, allocations: 4 kB / 0.8864 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.009935, allocations: 0 / 0.8864 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.01014, allocations: 327.2 kB / 0.8867 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.01018, allocations: 31.89 kB / 0.8868 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.0102, allocations: 8 kB / 0.8868 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.545e-05/0.01025, allocations: 16.02 kB / 0.8868 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.01031, allocations: 19.97 kB / 0.8868 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.01032, allocations: 7.984 kB / 0.8868 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.756e-05/0.01039, allocations: 163.2 kB / 0.887 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01039, allocations: 0 / 0.887 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001959/0.01058, allocations: 51.89 kB / 0.887 GB, free: 12.9 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.0001251/0.01071, allocations: 111.2 kB / 0.8871 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.01096, allocations: 235.4 kB / 0.8874 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01096, allocations: 0 / 0.8874 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.924e-05/0.01103, allocations: 63.59 kB / 0.8874 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.01126, allocations: 31.91 kB / 0.8874 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.01171, allocations: 330.5 kB / 0.8878 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.814e-05/0.01176, allocations: 72.36 kB / 0.8878 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.013e-05/0.01181, allocations: 21.48 kB / 0.8878 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.01184, allocations: 20.48 kB / 0.8879 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.01185, allocations: 3.938 kB / 0.8879 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.004749/0.01659, allocations: 2.794 MB / 0.8906 GB, free: 9.258 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.358682439196855]