Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008222/0.0008222, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.001043/0.001043, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.947/0.947, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.777/1.777, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/3.06e-05, allocations: 10.22 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002449/0.00248, allocations: 1.023 MB / 0.9832 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.004144, allocations: 1.252 MB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.004276, allocations: 11.88 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.004416, allocations: 15.8 kB / 0.9845 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 8.135e-05/0.004497, allocations: 27.75 kB / 0.9845 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.005028, allocations: 181.6 kB / 0.9847 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.005323, allocations: 264 kB / 0.9849 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.005508, allocations: 68.88 kB / 0.985 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.005674, allocations: 135.8 kB / 0.9851 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.005804, allocations: 67.77 kB / 0.9852 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.005844, allocations: 28 kB / 0.9852 GB, free: 15.01 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-05/0.005928, allocations: 47.92 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.005969, allocations: 35.91 kB / 0.9853 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/0.006056, allocations: 79.81 kB / 0.9853 GB, free: 14.85 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.006444, allocations: 350.9 kB / 0.9857 GB, free: 14.51 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.006448, allocations: 3.984 kB / 0.9857 GB, free: 14.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.006449, allocations: 0 / 0.9857 GB, free: 14.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.006454, allocations: 0 / 0.9857 GB, free: 14.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007206/0.007175, allocations: 431.2 kB / 0.9861 GB, free: 14.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.007218, allocations: 12.03 kB / 0.9861 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.451e-05/0.007293, allocations: 28.78 kB / 0.9861 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.00766, allocations: 195.8 kB / 0.9863 GB, free: 13.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.007685, allocations: 12.38 kB / 0.9863 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.00772, allocations: 20.38 kB / 0.9864 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.007984, allocations: 168.3 kB / 0.9865 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.007995, allocations: 192 / 0.9865 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.008016, allocations: 12.38 kB / 0.9865 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.008024, allocations: 4.375 kB / 0.9865 GB, free: 13.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.008193, allocations: 88.78 kB / 0.9866 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007749/0.008968, allocations: 459.8 kB / 0.9871 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.009222, allocations: 98.52 kB / 0.9871 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.009292, allocations: 36.8 kB / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.009302, allocations: 0 / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.009469, allocations: 117.2 kB / 0.9873 GB, free: 12.72 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.00947, allocations: 4 kB / 0.9873 GB, free: 12.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0003179/0.009788, allocations: 133.6 kB / 0.9874 GB, free: 12.58 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.00983, allocations: 51.41 kB / 0.9875 GB, free: 12.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.00998, allocations: 172.4 kB / 0.9876 GB, free: 12.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.01001, allocations: 29.7 kB / 0.9877 GB, free: 12.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.01035, allocations: 140.4 kB / 0.9878 GB, free: 12.17 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.01038, allocations: 31.73 kB / 0.9878 GB, free: 12.14 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/0.01046, allocations: 45.64 kB / 0.9879 GB, free: 12.09 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.01056, allocations: 322.8 kB / 0.9882 GB, free: 11.76 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.01071, allocations: 89.67 kB / 0.9883 GB, free: 11.67 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.01085, allocations: 108.2 kB / 0.9884 GB, free: 11.55 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.01103, allocations: 135.7 kB / 0.9885 GB, free: 11.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.01103, allocations: 3.984 kB / 0.9885 GB, free: 11.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000371/0.0114, allocations: 260.9 kB / 0.9888 GB, free: 11.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.01144, allocations: 36.2 kB / 0.9888 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.01145, allocations: 4 kB / 0.9888 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.01147, allocations: 0 / 0.9888 GB, free: 11.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.01154, allocations: 15.98 kB / 0.9888 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.01154, allocations: 0 / 0.9888 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.01172, allocations: 35.86 kB / 0.9888 GB, free: 11.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.01175, allocations: 15.98 kB / 0.9889 GB, free: 11.02 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001146/0.01186, allocations: 137.8 kB / 0.989 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.01188, allocations: 11.89 kB / 0.989 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.01192, allocations: 16.78 kB / 0.989 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01192, allocations: 0 / 0.989 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.01193, allocations: 0 / 0.989 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01193, allocations: 3.984 kB / 0.989 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.01209, allocations: 177.2 kB / 0.9892 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01209, allocations: 0 / 0.9892 GB, free: 10.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.01214, allocations: 15.92 kB / 0.9892 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.01214, allocations: 0 / 0.9892 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.01215, allocations: 8 kB / 0.9892 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.01215, allocations: 4 kB / 0.9892 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01215, allocations: 0 / 0.9892 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.01235, allocations: 137.5 kB / 0.9893 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.437e-05/0.01237, allocations: 19.78 kB / 0.9894 GB, free: 10.44 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.0124, allocations: 7.984 kB / 0.9894 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.836e-05/0.01245, allocations: 4 kB / 0.9894 GB, free: 10.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.01251, allocations: 15.97 kB / 0.9894 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.01252, allocations: 4 kB / 0.9894 GB, free: 10.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.134e-05/0.01261, allocations: 127.8 kB / 0.9895 GB, free: 10.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01261, allocations: 0 / 0.9895 GB, free: 10.28 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002824/0.01289, allocations: 39.89 kB / 0.9896 GB, free: 10.24 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,norTimDel.gre.greHys.y,norTimDel.or2.y,rho.booPul.y) * Number of discrete states: 1 (norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001642/0.01306, allocations: 115.2 kB / 0.9897 GB, free: 10.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003165/0.01337, allocations: 197 kB / 0.9899 GB, free: 9.91 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.01338, allocations: 4 kB / 0.9899 GB, free: 9.906 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.193e-05/0.01345, allocations: 39.92 kB / 0.9899 GB, free: 9.867 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.01372, allocations: 28.11 kB / 0.9899 GB, free: 9.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005175/0.01424, allocations: 312.1 kB / 0.9902 GB, free: 9.504 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.716e-05/0.01433, allocations: 104.1 kB / 0.9903 GB, free: 9.383 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.01437, allocations: 16.5 kB / 0.9903 GB, free: 9.367 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/0.01437, allocations: 4 kB / 0.9903 GB, free: 9.363 MB / 0.948 GB Notification: Performance of Templates: time 0.003826/0.0182, allocations: 2.205 MB / 0.9925 GB, free: 7.184 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.582624463364482]