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.0008123/0.0008123, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008387/0.0008387, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9208/0.9208, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.742/1.742, allocations: 377.8 MB / 0.6221 GB, free: 8.652 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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.616e-05, allocations: 2.281 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.001648/0.001664, allocations: 1.027 MB / 0.982 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.002878, allocations: 1.252 MB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.002986, allocations: 4 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.003123, allocations: 23.67 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.592e-05/0.003179, allocations: 31.78 kB / 0.9832 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.003626, allocations: 185.9 kB / 0.9834 GB, free: 56 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.003859, allocations: 252 kB / 0.9837 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.004021, allocations: 76.88 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.004142, allocations: 139.7 kB / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.004251, allocations: 67.78 kB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.004283, allocations: 28 kB / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.004356, allocations: 43.97 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/0.004392, allocations: 47.84 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.004457, allocations: 71.81 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.004737, allocations: 350.9 kB / 0.9844 GB, free: 15 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.004739, allocations: 0 / 0.9844 GB, free: 15 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.00474, allocations: 0 / 0.9844 GB, free: 15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.004744, allocations: 4 kB / 0.9845 GB, free: 14.99 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.000539/0.005283, allocations: 431.2 kB / 0.9849 GB, free: 14.53 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.005316, allocations: 8.031 kB / 0.9849 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.005349, allocations: 46.73 kB / 0.9849 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.005391, allocations: 24.8 kB / 0.9849 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.005644, allocations: 199.5 kB / 0.9851 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.005663, allocations: 16.38 kB / 0.9851 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.005685, allocations: 20.38 kB / 0.9852 GB, free: 14.19 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.005866, allocations: 169.2 kB / 0.9853 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.005873, allocations: 192 / 0.9853 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.005886, allocations: 4.375 kB / 0.9853 GB, free: 14.01 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.005891, allocations: 8.125 kB / 0.9853 GB, free: 14 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.006003, allocations: 91.91 kB / 0.9854 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.006581, allocations: 0.4914 MB / 0.9859 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.006766, allocations: 90.53 kB / 0.986 GB, free: 13.28 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.006811, allocations: 36.84 kB / 0.986 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.006819, allocations: 3.938 kB / 0.986 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.00695, allocations: 117 kB / 0.9861 GB, free: 13.11 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.006951, allocations: 0 / 0.9861 GB, free: 13.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0002215/0.007172, allocations: 141.6 kB / 0.9863 GB, free: 12.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.007208, allocations: 55.41 kB / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.007338, allocations: 202.8 kB / 0.9865 GB, free: 12.69 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.007361, allocations: 37.7 kB / 0.9866 GB, free: 12.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.007432, allocations: 123.9 kB / 0.9867 GB, free: 12.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.007458, allocations: 31.73 kB / 0.9867 GB, free: 12.49 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.007532, allocations: 45.7 kB / 0.9868 GB, free: 12.44 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.007626, allocations: 326.8 kB / 0.9871 GB, free: 12.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.875e-05/0.007725, allocations: 93.67 kB / 0.9872 GB, free: 12.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.985e-05/0.007825, allocations: 112.2 kB / 0.9873 GB, free: 11.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.007943, allocations: 132.2 kB / 0.9874 GB, free: 11.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007945, allocations: 0 / 0.9874 GB, free: 11.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002461/0.008191, allocations: 252.9 kB / 0.9876 GB, free: 11.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.00822, allocations: 37.7 kB / 0.9877 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.008226, allocations: 3.984 kB / 0.9877 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.008237, allocations: 4 kB / 0.9877 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.667e-05/0.008284, allocations: 11.94 kB / 0.9877 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.008289, allocations: 4 kB / 0.9877 GB, free: 11.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.008413, allocations: 43.84 kB / 0.9877 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.008429, allocations: 8.062 kB / 0.9877 GB, free: 11.36 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 9.328e-05/0.008522, allocations: 136.8 kB / 0.9879 GB, free: 11.22 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.008536, allocations: 15.91 kB / 0.9879 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.008567, allocations: 21.45 kB / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.008569, allocations: 0 / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.008572, allocations: 0 / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.008577, allocations: 4 kB / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.008907, allocations: 204.6 kB / 0.9881 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.008909, allocations: 0 / 0.9881 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.008942, allocations: 23.88 kB / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008944, allocations: 0 / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.008952, allocations: 0 / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.008955, allocations: 3.984 kB / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.008956, allocations: 0 / 0.9881 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.009099, allocations: 145 kB / 0.9883 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.009117, allocations: 15.84 kB / 0.9883 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.009136, allocations: 8 kB / 0.9883 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.416e-05/0.00917, allocations: 7.984 kB / 0.9883 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.009217, allocations: 15.98 kB / 0.9883 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.009226, allocations: 3.984 kB / 0.9883 GB, free: 10.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.806e-05/0.009304, allocations: 148.6 kB / 0.9885 GB, free: 10.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.009304, allocations: 7.875 kB / 0.9885 GB, free: 10.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001601/0.009464, allocations: 35.95 kB / 0.9885 GB, free: 10.51 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.000344/0.009808, allocations: 0.6942 MB / 0.9892 GB, free: 9.785 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.01003, allocations: 200.9 kB / 0.9894 GB, free: 9.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01003, allocations: 0 / 0.9894 GB, free: 9.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.83e-05/0.01008, allocations: 40.91 kB / 0.9894 GB, free: 9.531 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.01026, allocations: 32.11 kB / 0.9894 GB, free: 9.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.0119, allocations: 2.082 MB / 0.9915 GB, free: 7.289 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.933e-05/0.01197, allocations: 116.1 kB / 0.9916 GB, free: 7.152 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.067e-05/0.01202, allocations: 17.48 kB / 0.9916 GB, free: 7.137 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.01208, allocations: 48.48 kB / 0.9916 GB, free: 7.09 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/0.01208, allocations: 0 / 0.9916 GB, free: 7.09 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.02811, allocations: 4.733 MB / 0.9963 GB, free: 2.637 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/6.649, allocations: 14.44 kB / 0.9963 GB, free: 2.625 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.csv","/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: 10.916133048944175]