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.001586/0.001586, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001896/0.001896, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.805 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.295/3.295, allocations: 0.4892 GB / 0.7943 GB, free: 35.74 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.002206/0.002206, allocations: 66.39 kB / 1.153 GB, free: 25.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3464, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002442/0.3489, allocations: 1.002 MB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.3507, allocations: 1.264 MB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.3508, allocations: 4 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.3509, allocations: 19.73 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.772e-05/0.351, allocations: 31.72 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.3516, allocations: 180.8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.3519, allocations: 252 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.3521, allocations: 83.53 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3522, allocations: 95.7 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.3523, allocations: 79.59 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.3524, allocations: 31.94 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.749e-05/0.3525, allocations: 43.98 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.511e-05/0.3525, allocations: 35.91 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3526, allocations: 91.58 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.353, allocations: 322.8 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.353, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.353, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.353, allocations: 0 / 1.329 GB, free: 14.89 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.0007875/0.3538, allocations: 447.1 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3539, allocations: 8.031 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.036e-05/0.3539, allocations: 54.67 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.354, allocations: 20.84 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.3544, allocations: 190.2 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.3544, allocations: 16.38 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.3544, allocations: 20.36 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.3547, allocations: 167.8 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3547, allocations: 7.938 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.3547, allocations: 8 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.3548, allocations: 4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.3549, allocations: 91.89 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008721/0.3558, allocations: 499.1 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.3561, allocations: 90.48 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.3561, allocations: 36.89 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.3562, allocations: 8 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.3564, allocations: 109.1 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3564, allocations: 0 / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003403/0.3567, allocations: 141.6 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.3568, allocations: 59.39 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.357, allocations: 198.3 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.357, allocations: 33.7 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3571, allocations: 131.8 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.3572, allocations: 27.83 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.521e-05/0.3573, allocations: 49.69 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3574, allocations: 330.8 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.3576, allocations: 89.67 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.3578, allocations: 112.2 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.358, allocations: 128.2 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.358, allocations: 4 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004242/0.3584, allocations: 249.3 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.3585, allocations: 41.69 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3585, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3585, allocations: 8 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.3586, allocations: 15.94 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3586, allocations: 4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.3588, allocations: 43.84 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.3588, allocations: 15.94 kB / 1.332 GB, free: 11.23 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.0001517/0.359, allocations: 130.4 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.359, allocations: 15.89 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.3591, allocations: 17.41 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3591, allocations: 8 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3591, allocations: 0 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3591, allocations: 0 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.3593, allocations: 200.6 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3593, allocations: 0 / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.3594, allocations: 11.94 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3594, allocations: 0 / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.3594, allocations: 7.984 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3594, allocations: 4 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3594, allocations: 0 / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.3596, allocations: 152.9 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.3597, allocations: 11.91 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/0.3597, allocations: 8 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.3598, allocations: 7.984 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.3599, allocations: 15.97 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3599, allocations: 4 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001362/0.36, allocations: 140.4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.36, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002724/0.3603, allocations: 47.88 kB / 1.333 GB, free: 10.38 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.0006098/0.3609, allocations: 0.6826 MB / 1.333 GB, free: 9.672 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003794/0.3613, allocations: 205 kB / 1.333 GB, free: 9.453 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3613, allocations: 3.938 kB / 1.333 GB, free: 9.449 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.3613, allocations: 35.94 kB / 1.333 GB, free: 9.414 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.3616, allocations: 31.91 kB / 1.333 GB, free: 9.383 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.3642, allocations: 2.089 MB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.3643, allocations: 111.9 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.805e-05/0.3644, allocations: 17.48 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3645, allocations: 47.42 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of SimCode: time 1.012e-06/0.3645, allocations: 0 / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.3998, allocations: 4.597 MB / 1.34 GB, free: 2.609 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.01, allocations: 5.156 kB / 1.34 GB, free: 2.605 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.857559368014336]