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.000893/0.000893, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009013/0.0009013, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9085/0.9085, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.803/1.803, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.278e-05, allocations: 5.094 kB / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001645/0.001668, allocations: 0.9668 MB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.003005, allocations: 1.283 MB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.464e-05/0.0031, allocations: 4 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.469e-05/0.003195, allocations: 23.67 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.354e-05/0.003258, allocations: 27.78 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.003677, allocations: 173.8 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.003878, allocations: 232 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.004011, allocations: 68.89 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.004224, allocations: 139.6 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.004339, allocations: 67.84 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.004369, allocations: 20 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-05/0.004437, allocations: 39.98 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.004466, allocations: 35.84 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.004529, allocations: 63.81 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.004792, allocations: 287.1 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.004795, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.994e-06/0.004797, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.004802, allocations: 0 / 1.003 GB, free: 10.08 MB / 0.9636 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.0006542/0.005456, allocations: 427.3 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.005506, allocations: 12.69 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.005547, allocations: 46.73 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.005699, allocations: 32.83 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.005963, allocations: 166.5 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.005985, allocations: 12.38 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.006009, allocations: 16.38 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.006246, allocations: 126.2 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.006258, allocations: 3.938 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.006273, allocations: 8 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.006281, allocations: 4 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.006415, allocations: 91.89 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.006955, allocations: 447.3 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.007178, allocations: 102.5 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.007245, allocations: 40.97 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.007267, allocations: 0 / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.007459, allocations: 103.3 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.00746, allocations: 0 / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0002793/0.007739, allocations: 153.7 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.007775, allocations: 51.41 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.007893, allocations: 184.1 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.007914, allocations: 33.7 kB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.007975, allocations: 124.3 kB / 1.005 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.007996, allocations: 31.73 kB / 1.005 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.008053, allocations: 45.69 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.008139, allocations: 330.8 kB / 1.005 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.008252, allocations: 93.61 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.008367, allocations: 146.8 kB / 1.006 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.008503, allocations: 128.2 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.008505, allocations: 0 / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002686/0.008774, allocations: 244.9 kB / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.008812, allocations: 37.8 kB / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.008819, allocations: 0 / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.008834, allocations: 7.938 kB / 1.006 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.877e-05/0.008893, allocations: 19.92 kB / 1.006 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.008899, allocations: 0 / 1.006 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.009014, allocations: 47.84 kB / 1.006 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.00903, allocations: 7.984 kB / 1.006 GB, free: 6.559 MB / 0.9636 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 8.857e-05/0.009119, allocations: 138.8 kB / 1.006 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.009141, allocations: 15.91 kB / 1.006 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.009173, allocations: 13.47 kB / 1.006 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.009177, allocations: 4 kB / 1.006 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.009182, allocations: 0 / 1.006 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.009185, allocations: 0 / 1.006 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.009324, allocations: 196.6 kB / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.009325, allocations: 0 / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.009368, allocations: 19.94 kB / 1.007 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.009371, allocations: 0 / 1.007 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.00938, allocations: 3.984 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.009382, allocations: 4 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.009384, allocations: 4 kB / 1.007 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.009552, allocations: 149.4 kB / 1.007 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.042e-05/0.009572, allocations: 15.91 kB / 1.007 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.009589, allocations: 4 kB / 1.007 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.962e-05/0.009619, allocations: 7.984 kB / 1.007 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.009665, allocations: 15.97 kB / 1.007 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.009672, allocations: 4 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.478e-05/0.009747, allocations: 131.2 kB / 1.007 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.009747, allocations: 4 kB / 1.007 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001656/0.009913, allocations: 43.89 kB / 1.007 GB, free: 5.719 MB / 0.9636 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.0004422/0.01035, allocations: 0.6982 MB / 1.008 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002641/0.01062, allocations: 197 kB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01062, allocations: 4 kB / 1.008 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.009e-05/0.01068, allocations: 39.92 kB / 1.008 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.01089, allocations: 47.97 kB / 1.008 GB, free: 4.695 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.01252, allocations: 2.043 MB / 1.01 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.324e-05/0.01258, allocations: 111.3 kB / 1.01 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.75e-05/0.01263, allocations: 13.14 kB / 1.01 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.01269, allocations: 44.48 kB / 1.01 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of SimCode: time 9.92e-07/0.01269, allocations: 0 / 1.01 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.02917, allocations: 4.587 MB / 1.014 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/6.805, allocations: 14.2 kB / 1.015 GB, free: 13.93 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 11.062447653152049]