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.0009609/0.0009609, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.00103/0.00103, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.021/1.021, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.073/2.073, allocations: 429.5 MB / 0.6743 GB, free: 3.883 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.473e-06/1.473e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.798e-05, allocations: 4.844 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.001596/0.001614, allocations: 1.088 MB / 0.8805 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.002936, allocations: 1.32 MB / 0.8818 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.003051, allocations: 4 kB / 0.8818 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.00318, allocations: 23.73 kB / 0.8818 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.005e-05/0.00324, allocations: 36.72 kB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.003646, allocations: 200.5 kB / 0.882 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.003897, allocations: 303.9 kB / 0.8823 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.004039, allocations: 81.75 kB / 0.8824 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.004195, allocations: 168.6 kB / 0.8825 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.004305, allocations: 83.75 kB / 0.8826 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.004336, allocations: 28 kB / 0.8826 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.004402, allocations: 45.08 kB / 0.8827 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.00445, allocations: 47.83 kB / 0.8827 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.397e-05/0.004534, allocations: 83.81 kB / 0.8828 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.004757, allocations: 208.3 kB / 0.883 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004759, allocations: 3.938 kB / 0.883 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.71e-07/0.00476, allocations: 1.094 kB / 0.883 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.004766, allocations: 3.984 kB / 0.883 GB, free: 2.332 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.000575/0.005341, allocations: 0.5569 MB / 0.8836 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.00538, allocations: 13 kB / 0.8836 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.005441, allocations: 40.8 kB / 0.8836 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.005655, allocations: 214.6 kB / 0.8838 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.005678, allocations: 12.7 kB / 0.8838 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.005704, allocations: 31.89 kB / 0.8839 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.005858, allocations: 151.1 kB / 0.884 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.005866, allocations: 192 / 0.884 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.005881, allocations: 12.38 kB / 0.884 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.005889, allocations: 8.359 kB / 0.884 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.00595, allocations: 52.48 kB / 0.8841 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.006489, allocations: 0.4999 MB / 0.8846 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.00662, allocations: 87.67 kB / 0.8846 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.61e-05/0.006656, allocations: 40.33 kB / 0.8847 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.006664, allocations: 4.781 kB / 0.8847 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.006818, allocations: 135.5 kB / 0.8848 GB, free: 352 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.006819, allocations: 0 / 0.8848 GB, free: 352 kB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002272/0.007046, allocations: 183.7 kB / 0.885 GB, free: 164 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.007077, allocations: 52.94 kB / 0.885 GB, free: 100 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.007231, allocations: 235.2 kB / 0.8853 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.007256, allocations: 37.69 kB / 0.8853 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.007336, allocations: 183.2 kB / 0.8855 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.007362, allocations: 51.62 kB / 0.8855 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.007427, allocations: 63.31 kB / 0.8856 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.007532, allocations: 0.4962 MB / 0.8861 GB, free: 15 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.007663, allocations: 69.66 kB / 0.8861 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.379e-05/0.007747, allocations: 125.5 kB / 0.8863 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.007859, allocations: 161.9 kB / 0.8864 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.007861, allocations: 4 kB / 0.8864 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002331/0.008094, allocations: 252.7 kB / 0.8867 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.008118, allocations: 33.7 kB / 0.8867 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.008123, allocations: 4 kB / 0.8867 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.008132, allocations: 0 / 0.8867 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.212e-05/0.008194, allocations: 31.91 kB / 0.8867 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.008198, allocations: 4 kB / 0.8867 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.00831, allocations: 44.02 kB / 0.8868 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.008325, allocations: 8 kB / 0.8868 GB, free: 14.18 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.26e-05/0.008408, allocations: 172.5 kB / 0.8869 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.008433, allocations: 31.83 kB / 0.887 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.008459, allocations: 13.81 kB / 0.887 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.008463, allocations: 4 kB / 0.887 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.008464, allocations: 0 / 0.887 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.008469, allocations: 3.984 kB / 0.887 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.008803, allocations: 456.6 kB / 0.8874 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.008806, allocations: 8.031 kB / 0.8874 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.008836, allocations: 11.98 kB / 0.8874 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.008839, allocations: 0 / 0.8874 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.008847, allocations: 4 kB / 0.8875 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.008848, allocations: 0 / 0.8875 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.008849, allocations: 0 / 0.8875 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.009161, allocations: 323.2 kB / 0.8878 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.009196, allocations: 23.88 kB / 0.8878 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.009215, allocations: 8 kB / 0.8878 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.094e-05/0.009276, allocations: 11.98 kB / 0.8878 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.009316, allocations: 19.97 kB / 0.8878 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.009325, allocations: 8 kB / 0.8878 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.643e-05/0.009382, allocations: 159.1 kB / 0.888 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009382, allocations: 0 / 0.888 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001916/0.009573, allocations: 51.89 kB / 0.888 GB, free: 12.83 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.0001053/0.009678, allocations: 121.4 kB / 0.8881 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.009874, allocations: 204.7 kB / 0.8883 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.009875, allocations: 4.25 kB / 0.8883 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.546e-05/0.009931, allocations: 59.58 kB / 0.8884 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.0002146/0.01015, allocations: 39.84 kB / 0.8884 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.01059, allocations: 326.4 kB / 0.8888 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.044e-05/0.01064, allocations: 71.98 kB / 0.8888 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.968e-05/0.01068, allocations: 21.55 kB / 0.8888 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.0108, allocations: 118.2 kB / 0.889 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of SimCode: time 6.72e-07/0.0108, allocations: 0 / 0.889 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.004836/0.01564, allocations: 2.92 MB / 0.8918 GB, free: 8.969 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.3220318630337715]