Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009824/0.0009824, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009682/0.0009682, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.925/0.925, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.758/1.758, allocations: 377.9 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Validation.Controller,fileNamePrefix="Buildings_12_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_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.458e-05, allocations: 2.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002149/0.002174, allocations: 0.965 MB / 0.9819 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.003574, allocations: 1.287 MB / 0.9832 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.003665, allocations: 0 / 0.9832 GB, free: 324 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.003783, allocations: 27.67 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.858e-05/0.003861, allocations: 19.8 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.004367, allocations: 175.5 kB / 0.9834 GB, free: 100 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.004611, allocations: 228 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.004767, allocations: 69 kB / 0.9836 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.004981, allocations: 135.7 kB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.005091, allocations: 63.83 kB / 0.9838 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.00512, allocations: 20 kB / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-05/0.005187, allocations: 47.91 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.005218, allocations: 35.84 kB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.464e-05/0.005283, allocations: 67.81 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.005535, allocations: 275.2 kB / 0.9843 GB, free: 15.17 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.005539, allocations: 3.984 kB / 0.9843 GB, free: 15.16 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.593e-06/0.00554, allocations: 0 / 0.9843 GB, free: 15.16 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.005545, allocations: 4 kB / 0.9843 GB, free: 15.16 MB / 0.948 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.0005813/0.006127, allocations: 423.2 kB / 0.9847 GB, free: 14.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.006166, allocations: 11.97 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.006201, allocations: 46.73 kB / 0.9847 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.006319, allocations: 36.83 kB / 0.9848 GB, free: 14.61 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.006515, allocations: 168.1 kB / 0.9849 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.00653, allocations: 12.38 kB / 0.9849 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.006554, allocations: 20.31 kB / 0.985 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.006754, allocations: 142.7 kB / 0.9851 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.006762, allocations: 3.938 kB / 0.9851 GB, free: 14.24 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.006775, allocations: 4 kB / 0.9851 GB, free: 14.24 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.006781, allocations: 4 kB / 0.9851 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.006909, allocations: 87.95 kB / 0.9852 GB, free: 14.15 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005384/0.007448, allocations: 447.2 kB / 0.9856 GB, free: 13.67 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.007677, allocations: 102.6 kB / 0.9857 GB, free: 13.56 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.045e-05/0.007747, allocations: 44.84 kB / 0.9858 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.00777, allocations: 0 / 0.9858 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.007971, allocations: 103.4 kB / 0.9859 GB, free: 13.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.007972, allocations: 0 / 0.9859 GB, free: 13.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0003154/0.008287, allocations: 153.5 kB / 0.986 GB, free: 13.24 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.008342, allocations: 51.41 kB / 0.9861 GB, free: 13.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.008473, allocations: 182.8 kB / 0.9862 GB, free: 12.99 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.008497, allocations: 33.7 kB / 0.9863 GB, free: 12.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.008563, allocations: 128.3 kB / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.008588, allocations: 31.7 kB / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.008652, allocations: 41.69 kB / 0.9865 GB, free: 12.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/0.00874, allocations: 330.8 kB / 0.9868 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.008852, allocations: 89.61 kB / 0.9869 GB, free: 12.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.008976, allocations: 148.5 kB / 0.987 GB, free: 12.15 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.009118, allocations: 120.2 kB / 0.9871 GB, free: 12.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.00912, allocations: 4 kB / 0.9871 GB, free: 12.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002985/0.009419, allocations: 256.5 kB / 0.9874 GB, free: 11.75 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.009453, allocations: 33.7 kB / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.009459, allocations: 0 / 0.9874 GB, free: 11.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.009472, allocations: 7.938 kB / 0.9874 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.009529, allocations: 15.98 kB / 0.9874 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.009534, allocations: 0 / 0.9874 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.009664, allocations: 43.84 kB / 0.9875 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.00968, allocations: 12.06 kB / 0.9875 GB, free: 11.63 MB / 0.948 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 9.548e-05/0.009775, allocations: 137.7 kB / 0.9876 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.009789, allocations: 7.953 kB / 0.9876 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.00982, allocations: 17.47 kB / 0.9876 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.009824, allocations: 4 kB / 0.9876 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.009828, allocations: 0 / 0.9876 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.009832, allocations: 0 / 0.9876 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.009981, allocations: 204.6 kB / 0.9878 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.009982, allocations: 0 / 0.9878 GB, free: 11.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.01002, allocations: 16 kB / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01002, allocations: 0 / 0.9878 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.01004, allocations: 11.98 kB / 0.9878 GB, free: 11.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01004, allocations: 4 kB / 0.9878 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01004, allocations: 0 / 0.9878 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.01022, allocations: 156.8 kB / 0.988 GB, free: 11.01 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.01024, allocations: 11.91 kB / 0.988 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.01026, allocations: 7.938 kB / 0.988 GB, free: 10.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.223e-05/0.01029, allocations: 11.97 kB / 0.988 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.539e-05/0.01034, allocations: 11.98 kB / 0.988 GB, free: 10.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.01034, allocations: 11.98 kB / 0.9881 GB, free: 10.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.415e-05/0.01042, allocations: 136.3 kB / 0.9882 GB, free: 10.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01042, allocations: 0 / 0.9882 GB, free: 10.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001784/0.0106, allocations: 35.94 kB / 0.9882 GB, free: 10.79 MB / 0.948 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.000402/0.011, allocations: 0.6942 MB / 0.9889 GB, free: 10.06 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.01125, allocations: 193.8 kB / 0.9891 GB, free: 9.855 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01125, allocations: 0 / 0.9891 GB, free: 9.855 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.655e-05/0.01132, allocations: 48.05 kB / 0.9891 GB, free: 9.809 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.01153, allocations: 24.41 kB / 0.9891 GB, free: 9.785 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.01321, allocations: 2.046 MB / 0.9911 GB, free: 7.609 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.839e-05/0.01329, allocations: 115.3 kB / 0.9913 GB, free: 7.473 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.766e-05/0.01334, allocations: 9.156 kB / 0.9913 GB, free: 7.465 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.01341, allocations: 52.47 kB / 0.9913 GB, free: 7.414 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/0.01341, allocations: 0 / 0.9913 GB, free: 7.414 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.03259, allocations: 4.595 MB / 0.9958 GB, free: 3.031 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.723/6.755, allocations: 10.95 kB / 0.9958 GB, free: 3.023 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_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_Validation_Controller.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv. Warning: Get data of variable relCon.u_m from file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv failed! Error: Could not read variable enaSig.y in file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv. Warning: Get data of variable enaSig.y from file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv failed! Error: Could not read variable relCon.yOn in file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv. Warning: Get data of variable relCon.yOn from file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.035119763575494]