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.001529/0.001529, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00177/0.00177, allocations: 173 kB / 23.49 MB, free: 1.059 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.021/1.021, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.059/2.059, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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 3.277e-06/3.277e-06, allocations: 0 / 0.8782 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.637e-05, allocations: 5.938 kB / 0.8782 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002586/0.002623, allocations: 1.094 MB / 0.8793 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.004079, allocations: 1.322 MB / 0.8806 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.004205, allocations: 4 kB / 0.8806 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.00435, allocations: 23.73 kB / 0.8806 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.105e-05/0.004421, allocations: 33.17 kB / 0.8806 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.004903, allocations: 195.5 kB / 0.8808 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.005192, allocations: 304.9 kB / 0.8811 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.005367, allocations: 83.58 kB / 0.8812 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.005529, allocations: 160.9 kB / 0.8813 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.005652, allocations: 87.69 kB / 0.8814 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.00569, allocations: 35.98 kB / 0.8814 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.142e-05/0.005761, allocations: 45.06 kB / 0.8815 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.005804, allocations: 51.83 kB / 0.8815 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.245e-05/0.005886, allocations: 83.81 kB / 0.8816 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.00615, allocations: 224.3 kB / 0.8818 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.006155, allocations: 4 kB / 0.8818 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.006156, allocations: 0 / 0.8818 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.006161, allocations: 0.875 kB / 0.8818 GB, free: 2.781 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.0007986/0.00696, allocations: 0.554 MB / 0.8824 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.006996, allocations: 8.031 kB / 0.8824 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.007075, allocations: 44.78 kB / 0.8824 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.007366, allocations: 210.9 kB / 0.8826 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.007394, allocations: 20.7 kB / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.007421, allocations: 22.22 kB / 0.8827 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.007626, allocations: 175.1 kB / 0.8828 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.007632, allocations: 192 / 0.8828 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.007648, allocations: 8.359 kB / 0.8828 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.007656, allocations: 4.375 kB / 0.8828 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.007761, allocations: 69.38 kB / 0.8829 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006785/0.008439, allocations: 0.5434 MB / 0.8834 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.00862, allocations: 99.77 kB / 0.8835 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.008678, allocations: 39.7 kB / 0.8836 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.008688, allocations: 5.531 kB / 0.8836 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.008857, allocations: 153.1 kB / 0.8837 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.008858, allocations: 0 / 0.8837 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003077/0.009166, allocations: 192.2 kB / 0.8839 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.009205, allocations: 55.41 kB / 0.884 GB, free: 444 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.009341, allocations: 232 kB / 0.8842 GB, free: 196 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.009366, allocations: 33.7 kB / 0.8842 GB, free: 156 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/0.009464, allocations: 187.4 kB / 0.8844 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.009493, allocations: 47.62 kB / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.009565, allocations: 63.34 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003782/0.009943, allocations: 0.498 MB / 0.885 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.646e-05/0.01004, allocations: 73.67 kB / 0.8851 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.01015, allocations: 136.9 kB / 0.8852 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.01031, allocations: 163.3 kB / 0.8853 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01031, allocations: 0 / 0.8853 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002918/0.0106, allocations: 277.4 kB / 0.8856 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.01063, allocations: 33.7 kB / 0.8856 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.01064, allocations: 0 / 0.8856 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.01065, allocations: 4 kB / 0.8856 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.01073, allocations: 27.92 kB / 0.8857 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01074, allocations: 0 / 0.8857 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.01085, allocations: 39.86 kB / 0.8857 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.01087, allocations: 8 kB / 0.8857 GB, free: 14.5 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.0001022/0.01097, allocations: 180.5 kB / 0.8859 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.011, allocations: 27.89 kB / 0.8859 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.01103, allocations: 21.81 kB / 0.8859 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01103, allocations: 0 / 0.8859 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.01104, allocations: 0 / 0.8859 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01104, allocations: 3.984 kB / 0.8859 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.01147, allocations: 0.4926 MB / 0.8864 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01147, allocations: 0 / 0.8864 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.0115, allocations: 15.94 kB / 0.8864 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01151, allocations: 0 / 0.8864 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01152, allocations: 15.95 kB / 0.8865 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01152, allocations: 0 / 0.8865 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01152, allocations: 0 / 0.8865 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.01174, allocations: 321.8 kB / 0.8868 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.01178, allocations: 27.89 kB / 0.8868 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.01181, allocations: 11.98 kB / 0.8868 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.01187, allocations: 8 kB / 0.8868 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.01193, allocations: 23.89 kB / 0.8868 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.01194, allocations: 8 kB / 0.8868 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.493e-05/0.01201, allocations: 168.2 kB / 0.887 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01201, allocations: 4 kB / 0.887 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002198/0.01223, allocations: 55.88 kB / 0.8871 GB, free: 13.06 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.0001453/0.01238, allocations: 115.8 kB / 0.8872 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.01265, allocations: 224.5 kB / 0.8874 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01265, allocations: 0 / 0.8874 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.378e-05/0.01272, allocations: 59.59 kB / 0.8874 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.01297, allocations: 44.5 kB / 0.8875 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005048/0.01348, allocations: 334.5 kB / 0.8878 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.803e-05/0.01352, allocations: 75.98 kB / 0.8879 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.125e-05/0.01358, allocations: 13.48 kB / 0.8879 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.01362, allocations: 24.5 kB / 0.8879 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/0.01362, allocations: 0 / 0.8879 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.005743/0.01936, allocations: 2.679 MB / 0.8905 GB, free: 9.527 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.465536906151101]