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.0008533/0.0008533, 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.001241/0.001241, allocations: 165.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.8991/0.8991, allocations: 177.1 MB / 202.8 MB, free: 5.738 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 1.783/1.783, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,fileNamePrefix="Buildings_latest_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_latest_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.984e-06/1.984e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.883e-05, allocations: 10.22 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.001705/0.001723, allocations: 1.039 MB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.002941, allocations: 1.291 MB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.003052, allocations: 7.938 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.003162, allocations: 19.73 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.835e-05/0.00322, allocations: 35.72 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.003658, allocations: 196.8 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.003932, allocations: 307.9 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.004079, allocations: 83.59 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.004224, allocations: 171.7 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.00433, allocations: 79.75 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.004362, allocations: 35.94 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.411e-05/0.004426, allocations: 47.98 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.004463, allocations: 55.81 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.112e-05/0.004534, allocations: 87.81 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.004829, allocations: 398.8 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.004832, allocations: 0 / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.318e-06/0.004837, allocations: 0 / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.004841, allocations: 8 kB / 1.003 GB, free: 9.629 MB / 0.9636 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.0005932/0.005435, allocations: 475.3 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.005471, allocations: 9.344 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.005504, allocations: 46.73 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.005553, allocations: 36.72 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.005848, allocations: 210.4 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.005868, allocations: 20.7 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.005894, allocations: 20.38 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.006101, allocations: 202.4 kB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.006109, allocations: 192 / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.006123, allocations: 8.375 kB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.006129, allocations: 8.125 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.006257, allocations: 104.2 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006421/0.006899, allocations: 0.5423 MB / 1.005 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.007077, allocations: 122.6 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.383e-05/0.00714, allocations: 56.92 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.007149, allocations: 4 kB / 1.005 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.007327, allocations: 172.8 kB / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=17): time 2.265e-06/0.007329, allocations: 3.984 kB / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of matching and sorting (n=17): time 0.0003131/0.007642, allocations: 239.2 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.007675, allocations: 51.41 kB / 1.006 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.007811, allocations: 207.1 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.007834, allocations: 33.7 kB / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.007903, allocations: 136.4 kB / 1.006 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.007931, allocations: 59.56 kB / 1.006 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.007992, allocations: 45.7 kB / 1.006 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.996e-05/0.008072, allocations: 334.8 kB / 1.006 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.008181, allocations: 105.7 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.008299, allocations: 142.8 kB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.008454, allocations: 172.5 kB / 1.007 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008456, allocations: 3.938 kB / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002938/0.00875, allocations: 306.2 kB / 1.007 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.008782, allocations: 41.69 kB / 1.007 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.008787, allocations: 3.938 kB / 1.007 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.008798, allocations: 4 kB / 1.007 GB, free: 5.48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.008867, allocations: 23.92 kB / 1.007 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.008872, allocations: 0 / 1.007 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.009, allocations: 55.91 kB / 1.007 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.009017, allocations: 11.98 kB / 1.007 GB, free: 5.391 MB / 0.9636 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 9.305e-05/0.00911, allocations: 145.7 kB / 1.007 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.009126, allocations: 15.91 kB / 1.007 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.009158, allocations: 25.8 kB / 1.007 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.009161, allocations: 4 kB / 1.007 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.009166, allocations: 0 / 1.007 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009169, allocations: 0 / 1.007 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.009582, allocations: 0.4982 MB / 1.008 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.009585, allocations: 8.031 kB / 1.008 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/0.009616, allocations: 11.98 kB / 1.008 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.009619, allocations: 3.938 kB / 1.008 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.009629, allocations: 4 kB / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.00963, allocations: 0 / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009631, allocations: 0 / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.009836, allocations: 292.1 kB / 1.008 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.009879, allocations: 31.88 kB / 1.008 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.009898, allocations: 8 kB / 1.008 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-05/0.009962, allocations: 7.984 kB / 1.008 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.01001, allocations: 31.84 kB / 1.008 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.01002, allocations: 11.98 kB / 1.008 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.105e-05/0.0101, allocations: 144.5 kB / 1.008 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.0101, allocations: 0 / 1.008 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001972/0.0103, allocations: 47.95 kB / 1.009 GB, free: 4.027 MB / 0.9636 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.0004362/0.01073, allocations: 0.8432 MB / 1.009 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.01099, allocations: 245.2 kB / 1.01 GB, free: 2.898 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.011, allocations: 4.062 kB / 1.01 GB, free: 2.895 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.631e-05/0.01107, allocations: 70.02 kB / 1.01 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.01131, allocations: 50.28 kB / 1.01 GB, free: 2.781 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.01309, allocations: 2.394 MB / 1.012 GB, free: 248 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.237e-05/0.01316, allocations: 125.3 kB / 1.012 GB, free: 104 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.699e-05/0.01322, allocations: 21.64 kB / 1.012 GB, free: 80 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.01329, allocations: 68.45 kB / 1.012 GB, free: 12 kB / 0.9636 GB Notification: Performance of SimCode: time 6.91e-07/0.01329, allocations: 0 / 1.012 GB, free: 12 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.03031, allocations: 5.276 MB / 1.017 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.714/6.745, allocations: 7.391 kB / 1.017 GB, free: 10.98 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.938518533483148]