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.001415/0.001415, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.001463/0.001463, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.5/1.5, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.335/3.335, allocations: 0.505 GB / 0.8066 GB, free: 23.09 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.002049/0.002049, allocations: 66.11 kB / 1.172 GB, free: 17.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3675, allocations: 180.2 MB / 1.348 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002376/0.3699, allocations: 1.044 MB / 1.349 GB, free: 9.059 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.3716, allocations: 1.296 MB / 1.35 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.3717, allocations: 4 kB / 1.35 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.3718, allocations: 19.73 kB / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.51e-05/0.3719, allocations: 27.73 kB / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.3724, allocations: 178.1 kB / 1.35 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.3727, allocations: 228.1 kB / 1.35 GB, free: 7.301 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.3729, allocations: 56.5 kB / 1.351 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.3731, allocations: 99.67 kB / 1.351 GB, free: 7.148 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3732, allocations: 95.58 kB / 1.351 GB, free: 7.055 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.3733, allocations: 27.94 kB / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-05/0.3734, allocations: 35.98 kB / 1.351 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.3734, allocations: 39.86 kB / 1.351 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.3735, allocations: 91.56 kB / 1.351 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.3738, allocations: 263.2 kB / 1.351 GB, free: 6.605 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3739, allocations: 4 kB / 1.351 GB, free: 6.602 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3739, allocations: 0 / 1.351 GB, free: 6.602 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3739, allocations: 0 / 1.351 GB, free: 6.602 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.0007984/0.3747, allocations: 0.4886 MB / 1.352 GB, free: 6.059 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3747, allocations: 11.98 kB / 1.352 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/0.3748, allocations: 50.73 kB / 1.352 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.3749, allocations: 32.78 kB / 1.352 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.3752, allocations: 236.2 kB / 1.352 GB, free: 5.688 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3753, allocations: 8.375 kB / 1.352 GB, free: 5.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.3753, allocations: 24.12 kB / 1.352 GB, free: 5.656 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.3756, allocations: 125.6 kB / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3756, allocations: 0 / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.3757, allocations: 8 kB / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.3757, allocations: 4 kB / 1.352 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.3759, allocations: 87.94 kB / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009211/0.3768, allocations: 0.5196 MB / 1.353 GB, free: 4.859 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.3771, allocations: 98.52 kB / 1.353 GB, free: 4.754 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.3773, allocations: 45.09 kB / 1.353 GB, free: 4.707 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.3773, allocations: 4 kB / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.3776, allocations: 99.3 kB / 1.353 GB, free: 4.594 MB / 1.045 GB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.3776, allocations: 0 / 1.353 GB, free: 4.594 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.000442/0.378, allocations: 149.6 kB / 1.353 GB, free: 4.441 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.3781, allocations: 55.34 kB / 1.353 GB, free: 4.375 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.3783, allocations: 178.7 kB / 1.353 GB, free: 4.184 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.3783, allocations: 33.7 kB / 1.353 GB, free: 4.145 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.3785, allocations: 132.2 kB / 1.353 GB, free: 4.012 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.3785, allocations: 27.75 kB / 1.353 GB, free: 3.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3786, allocations: 45.69 kB / 1.354 GB, free: 3.934 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.3788, allocations: 326.8 kB / 1.354 GB, free: 3.605 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.379, allocations: 55.97 kB / 1.354 GB, free: 3.551 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.3791, allocations: 85.38 kB / 1.354 GB, free: 3.457 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.3794, allocations: 134.8 kB / 1.354 GB, free: 3.312 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3794, allocations: 0 / 1.354 GB, free: 3.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004651/0.3799, allocations: 219.2 kB / 1.354 GB, free: 3.086 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.699e-05/0.3799, allocations: 37.64 kB / 1.354 GB, free: 3.043 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3799, allocations: 3.984 kB / 1.354 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.38, allocations: 0 / 1.354 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.3801, allocations: 20.06 kB / 1.354 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3801, allocations: 4 kB / 1.354 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.3803, allocations: 39.84 kB / 1.354 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.3803, allocations: 15.92 kB / 1.354 GB, free: 2.961 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.0001452/0.3805, allocations: 130.3 kB / 1.355 GB, free: 2.824 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.3805, allocations: 15.91 kB / 1.355 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.3806, allocations: 21.41 kB / 1.355 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3806, allocations: 0 / 1.355 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3806, allocations: 0 / 1.355 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3806, allocations: 3.984 kB / 1.355 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.3808, allocations: 241.5 kB / 1.355 GB, free: 2.492 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3808, allocations: 0 / 1.355 GB, free: 2.492 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.683e-05/0.3809, allocations: 19.98 kB / 1.355 GB, free: 2.473 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3809, allocations: 0 / 1.355 GB, free: 2.473 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3809, allocations: 7.938 kB / 1.355 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3809, allocations: 0 / 1.355 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3809, allocations: 0 / 1.355 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.3812, allocations: 156.9 kB / 1.355 GB, free: 2.293 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.3813, allocations: 92.95 kB / 1.355 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.3813, allocations: 11.98 kB / 1.355 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.3814, allocations: 4 kB / 1.355 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.3814, allocations: 11.98 kB / 1.355 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3814, allocations: 7.984 kB / 1.355 GB, free: 2.148 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001261/0.3816, allocations: 144.5 kB / 1.355 GB, free: 2.008 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3816, allocations: 0 / 1.355 GB, free: 2.008 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002464/0.3818, allocations: 39.95 kB / 1.355 GB, free: 1.969 MB / 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.0006939/0.3825, allocations: 0.6904 MB / 1.356 GB, free: 1.25 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003906/0.3829, allocations: 171.3 kB / 1.356 GB, free: 1.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3829, allocations: 3.938 kB / 1.356 GB, free: 1.066 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.383, allocations: 35.98 kB / 1.356 GB, free: 1.031 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.3833, allocations: 37.92 kB / 1.356 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.386, allocations: 1.929 MB / 1.358 GB, free: 14.96 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.3864, allocations: 0.7162 MB / 1.359 GB, free: 14.22 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.118e-05/0.3865, allocations: 13.08 kB / 1.359 GB, free: 14.21 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.231e-05/0.3866, allocations: 51.34 kB / 1.359 GB, free: 14.16 MB / 1.061 GB Notification: Performance of SimCode: time 9.32e-07/0.3866, allocations: 0 / 1.359 GB, free: 14.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.4161, allocations: 3.753 MB / 1.363 GB, free: 10.58 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/8.777, allocations: 7.312 kB / 1.363 GB, free: 10.58 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_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_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.csv","/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] "Error: Could not read variable relCon.u_m in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv. Warning: Get data of variable relCon.u_m from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv failed! Error: Could not read variable enaSig.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv. Warning: Get data of variable enaSig.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv failed! Error: Could not read variable relCon.yOn in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv. Warning: Get data of variable relCon.yOn from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.898442893056199]