Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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.00187/0.00187, 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.002321/0.002321, allocations: 220.9 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.574/1.574, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.267/3.267, allocations: 0.505 GB / 0.8101 GB, free: 23.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Validation.Controller,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller",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.002014/0.002014, allocations: 70.72 kB / 1.177 GB, free: 16.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4059, allocations: 180.2 MB / 1.353 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002408/0.4083, allocations: 0.97 MB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.4101, allocations: 1.284 MB / 1.355 GB, free: 5.602 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.4102, allocations: 0 / 1.355 GB, free: 5.602 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.4103, allocations: 19.73 kB / 1.355 GB, free: 5.582 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.4104, allocations: 27.73 kB / 1.355 GB, free: 5.555 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.4109, allocations: 166.3 kB / 1.355 GB, free: 5.395 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.4112, allocations: 240 kB / 1.355 GB, free: 5.156 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.4113, allocations: 61.19 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.4115, allocations: 99.62 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.4117, allocations: 91.64 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.4117, allocations: 20 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-05/0.4118, allocations: 43.92 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.4118, allocations: 35.86 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.531e-05/0.4119, allocations: 75.7 kB / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.4123, allocations: 266.9 kB / 1.356 GB, free: 4.473 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4123, allocations: 0 / 1.356 GB, free: 4.473 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4123, allocations: 4 kB / 1.356 GB, free: 4.469 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.4123, allocations: 0 / 1.356 GB, free: 4.469 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007911/0.4131, allocations: 431.2 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4131, allocations: 8.031 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.942e-05/0.4132, allocations: 46.73 kB / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.4134, allocations: 24.84 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.4136, allocations: 168.2 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.4137, allocations: 20.36 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.4137, allocations: 20.12 kB / 1.357 GB, free: 3.699 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.414, allocations: 137.6 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.414, allocations: 0 / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.414, allocations: 4 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.414, allocations: 7.938 kB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.4143, allocations: 83.95 kB / 1.357 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007806/0.415, allocations: 447.3 kB / 1.357 GB, free: 2.984 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.4154, allocations: 98.61 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.4155, allocations: 44.84 kB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.4155, allocations: 0 / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002887/0.4158, allocations: 103.2 kB / 1.358 GB, free: 2.719 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.4158, allocations: 0 / 1.358 GB, free: 2.719 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0004205/0.4162, allocations: 153.7 kB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.4163, allocations: 59.39 kB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.4165, allocations: 187.8 kB / 1.358 GB, free: 2.297 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.4165, allocations: 29.7 kB / 1.358 GB, free: 2.262 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.903e-05/0.4166, allocations: 124.4 kB / 1.358 GB, free: 2.137 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.944e-05/0.4167, allocations: 31.73 kB / 1.358 GB, free: 2.105 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.4168, allocations: 41.7 kB / 1.358 GB, free: 2.059 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.417, allocations: 330.8 kB / 1.359 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.4171, allocations: 85.67 kB / 1.359 GB, free: 1.637 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.4173, allocations: 146.7 kB / 1.359 GB, free: 1.469 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.4176, allocations: 127.1 kB / 1.359 GB, free: 1.332 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4176, allocations: 0 / 1.359 GB, free: 1.332 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004565/0.418, allocations: 256.9 kB / 1.359 GB, free: 1.062 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.4181, allocations: 37.69 kB / 1.359 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4181, allocations: 0 / 1.359 GB, free: 1.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.4181, allocations: 4 kB / 1.359 GB, free: 1.016 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.4182, allocations: 15.98 kB / 1.359 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4182, allocations: 0 / 1.359 GB, free: 1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.4184, allocations: 51.91 kB / 1.359 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.4185, allocations: 11.88 kB / 1.359 GB, free: 0.9375 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,enaSig.y,$PRE.enaSig.y,relCon.hys.y,$PRE.relCon.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.0001326/0.4186, allocations: 129.8 kB / 1.359 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.4186, allocations: 11.91 kB / 1.359 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/0.4187, allocations: 21.39 kB / 1.359 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4187, allocations: 0 / 1.359 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4187, allocations: 8 kB / 1.359 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4187, allocations: 0 / 1.359 GB, free: 0.7578 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.4189, allocations: 196.6 kB / 1.36 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4189, allocations: 0 / 1.36 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.103e-05/0.419, allocations: 23.98 kB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.419, allocations: 0 / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.419, allocations: 0 / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.419, allocations: 0 / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.419, allocations: 7.875 kB / 1.36 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.4193, allocations: 152.9 kB / 1.36 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.4193, allocations: 19.88 kB / 1.36 GB, free: 312 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.4194, allocations: 4 kB / 1.36 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.4194, allocations: 8 kB / 1.36 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.4195, allocations: 11.97 kB / 1.36 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4195, allocations: 8 kB / 1.36 GB, free: 280 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001408/0.4197, allocations: 143.4 kB / 1.36 GB, free: 136 kB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4197, allocations: 0 / 1.36 GB, free: 136 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.000251/0.4199, allocations: 35.95 kB / 1.36 GB, free: 100 kB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,relCon.hys.y,enaSig.y) * Number of discrete states: 1 (relCon.hys.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.0007688/0.4207, allocations: 0.6942 MB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.4211, allocations: 197.8 kB / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4211, allocations: 128 / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.4213, allocations: 47.98 kB / 1.361 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.4216, allocations: 28.3 kB / 1.361 GB, free: 15.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.4248, allocations: 2.06 MB / 1.363 GB, free: 12.9 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.658e-05/0.4249, allocations: 103.2 kB / 1.363 GB, free: 12.78 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.946e-05/0.4249, allocations: 13.08 kB / 1.363 GB, free: 12.76 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.425, allocations: 43.42 kB / 1.363 GB, free: 12.72 MB / 1.061 GB Notification: Performance of SimCode: time 9.32e-07/0.425, allocations: 0 / 1.363 GB, free: 12.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.4567, allocations: 4.489 MB / 1.368 GB, free: 8.402 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.77, allocations: 5.703 kB / 1.368 GB, free: 8.398 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.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.797135399014223]