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.001296/0.001296, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 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.001435/0.001435, allocations: 218.6 kB / 22.25 MB, free: 5.105 MB / 14.72 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.189/3.189, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 71.67 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3678, allocations: 176.1 MB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002415/0.3702, allocations: 1 MB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.372, allocations: 1.26 MB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.3721, allocations: 3.938 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.3722, allocations: 23.73 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.348e-05/0.3723, allocations: 23.78 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.3729, allocations: 181.8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.3732, allocations: 263.9 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.3734, allocations: 77.11 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.3735, allocations: 91.77 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.3736, allocations: 95.53 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.3737, allocations: 28 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.844e-05/0.3738, allocations: 43.98 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.3738, allocations: 39.84 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3739, allocations: 83.64 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.3743, allocations: 330.8 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3743, allocations: 3.984 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3743, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3743, allocations: 0 / 1.329 GB, free: 14.03 MB / 1.029 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.0007425/0.3751, allocations: 439.1 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3751, allocations: 8.031 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.418e-05/0.3752, allocations: 50.73 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.3752, allocations: 20.84 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.3756, allocations: 199.2 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.3756, allocations: 20.31 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.3756, allocations: 16.38 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.3759, allocations: 171.7 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3759, allocations: 3.938 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3759, allocations: 8 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3759, allocations: 0 / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.3761, allocations: 91.95 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008634/0.377, allocations: 0.499 MB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.3772, allocations: 86.59 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.251e-05/0.3773, allocations: 32.86 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3773, allocations: 8.109 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.3775, allocations: 117.1 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.3775, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003143/0.3778, allocations: 137.8 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.3778, allocations: 55.41 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.3781, allocations: 202.2 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.3781, allocations: 33.69 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3782, allocations: 128 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.3782, allocations: 39.75 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.162e-05/0.3783, allocations: 41.7 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3785, allocations: 334.8 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3786, allocations: 85.69 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.3788, allocations: 119.7 kB / 1.332 GB, free: 10.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.379, allocations: 124.2 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.379, allocations: 0 / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003969/0.3794, allocations: 257 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/0.3794, allocations: 41.7 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3794, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3794, allocations: 4 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.011e-05/0.3795, allocations: 11.98 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3795, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.3797, allocations: 47.72 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.3798, allocations: 11.94 kB / 1.333 GB, free: 10.37 MB / 1.029 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.0001284/0.3799, allocations: 138.3 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.3799, allocations: 15.91 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.38, allocations: 21.39 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.38, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.38, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.38, allocations: 4 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.3802, allocations: 196.6 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3802, allocations: 0 / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/0.3802, allocations: 12 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3802, allocations: 0 / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.3803, allocations: 4 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3803, allocations: 0 / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3803, allocations: 3.984 kB / 1.333 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.3805, allocations: 153 kB / 1.333 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.3805, allocations: 19.89 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.3805, allocations: 4 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.3806, allocations: 7.984 kB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.3807, allocations: 11.98 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.3807, allocations: 4 kB / 1.333 GB, free: 9.707 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001269/0.3808, allocations: 148.4 kB / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3808, allocations: 0 / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002471/0.381, allocations: 43.89 kB / 1.333 GB, free: 9.52 MB / 1.029 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.0005673/0.3816, allocations: 0.6904 MB / 1.334 GB, free: 8.801 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003323/0.3819, allocations: 200.9 kB / 1.334 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3819, allocations: 0 / 1.334 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.382, allocations: 35.98 kB / 1.334 GB, free: 8.551 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.3823, allocations: 43.98 kB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.3848, allocations: 2.083 MB / 1.336 GB, free: 6.297 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.3849, allocations: 104 kB / 1.336 GB, free: 6.176 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.913e-05/0.385, allocations: 17.48 kB / 1.336 GB, free: 6.156 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.288e-05/0.3851, allocations: 51.41 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of SimCode: time 4.2e-07/0.3851, allocations: 3.938 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03391/0.419, allocations: 4.625 MB / 1.341 GB, free: 1.707 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.71, allocations: 1.891 kB / 1.341 GB, free: 1.707 MB / 1.029 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.670235260011395]