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.001346/0.001346, 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.001711/0.001711, allocations: 219.4 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.812 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.258/3.258, allocations: 0.49 GB / 0.7951 GB, free: 35.58 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.002087/0.002087, allocations: 60.5 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4076, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002754/0.4104, allocations: 1.013 MB / 1.327 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.4123, allocations: 1.264 MB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.4124, allocations: 4 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.4126, allocations: 23.67 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.804e-05/0.4126, allocations: 19.81 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.4132, allocations: 184.3 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.4135, allocations: 260 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.4137, allocations: 81.7 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.4138, allocations: 91.72 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.414, allocations: 99.53 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.414, allocations: 31.98 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.137e-05/0.4141, allocations: 39.98 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.906e-05/0.4141, allocations: 39.86 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.4142, allocations: 83.64 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.4146, allocations: 322.8 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4146, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4146, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.4146, allocations: 3.938 kB / 1.329 GB, free: 13.96 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.0007919/0.4154, allocations: 451.1 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.4155, allocations: 8.031 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.4155, allocations: 46.73 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.4156, allocations: 20.84 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.416, allocations: 195.4 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.416, allocations: 16.38 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.4161, allocations: 16.38 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.4163, allocations: 171.7 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4164, allocations: 7.938 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.4164, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4164, allocations: 4 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.4165, allocations: 87.97 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.4174, allocations: 0.499 MB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.4177, allocations: 86.59 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/0.4177, allocations: 32.86 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.4178, allocations: 192 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.4179, allocations: 124.9 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.4179, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003186/0.4183, allocations: 137.6 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.4183, allocations: 51.41 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.4185, allocations: 202.3 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.4186, allocations: 37.62 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.4187, allocations: 132 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.4187, allocations: 35.69 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.4188, allocations: 41.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.419, allocations: 330.8 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.4191, allocations: 93.67 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.4193, allocations: 115 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.4195, allocations: 128.2 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4195, allocations: 0 / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004006/0.4199, allocations: 256.1 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.4199, allocations: 37.7 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.4199, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4199, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.42, allocations: 20.05 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.42, allocations: 0 / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.4202, allocations: 47.86 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.4203, allocations: 11.92 kB / 1.333 GB, free: 10.31 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.0001327/0.4204, allocations: 136 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.4204, allocations: 19.84 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.4205, allocations: 21.39 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4205, allocations: 4 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4205, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4205, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.4207, allocations: 204.6 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.4207, allocations: 0 / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.4207, allocations: 8 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4208, allocations: 7.938 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.4208, allocations: 4 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4208, allocations: 0 / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4208, allocations: 0 / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.421, allocations: 144.9 kB / 1.333 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.421, allocations: 23.89 kB / 1.333 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.421, allocations: 0 / 1.333 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.4211, allocations: 4 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.4212, allocations: 15.97 kB / 1.333 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.4212, allocations: 4 kB / 1.333 GB, free: 9.648 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001344/0.4213, allocations: 148.4 kB / 1.333 GB, free: 9.504 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4213, allocations: 0 / 1.333 GB, free: 9.504 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002447/0.4216, allocations: 39.89 kB / 1.333 GB, free: 9.465 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.0005942/0.4222, allocations: 0.6967 MB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003524/0.4225, allocations: 204.9 kB / 1.334 GB, free: 8.523 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4225, allocations: 0 / 1.334 GB, free: 8.523 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.595e-05/0.4226, allocations: 31.98 kB / 1.334 GB, free: 8.492 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.4229, allocations: 31.91 kB / 1.334 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.4255, allocations: 2.085 MB / 1.336 GB, free: 6.246 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.4256, allocations: 108.1 kB / 1.336 GB, free: 6.121 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.915e-05/0.4257, allocations: 25.47 kB / 1.336 GB, free: 6.094 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.757e-05/0.4258, allocations: 51.41 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.4258, allocations: 0 / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.4585, allocations: 4.615 MB / 1.341 GB, free: 1.652 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.82, allocations: 15.23 kB / 1.341 GB, free: 1.641 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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.590736901009222]