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.001153/0.001153, 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.001371/0.001371, 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.8894/0.8894, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.701/1.701, allocations: 389 MB / 0.633 GB, free: 12.7 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 1.963e-06/1.963e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.335e-05, allocations: 5.094 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001453/0.001466, allocations: 0.9591 MB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.002576, allocations: 1.287 MB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.002641, allocations: 0 / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.502e-05/0.002736, allocations: 23.73 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.039e-05/0.002796, allocations: 19.8 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.00317, allocations: 187.1 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.003348, allocations: 224 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.003478, allocations: 61.02 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.003644, allocations: 147.6 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.003738, allocations: 63.83 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.003764, allocations: 23.98 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.526e-05/0.00382, allocations: 39.98 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.003846, allocations: 35.84 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.003901, allocations: 67.83 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.004116, allocations: 283.1 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004118, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004119, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.004123, allocations: 0 / 1.003 GB, free: 10.07 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.0004882/0.004611, allocations: 423.3 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.004647, allocations: 12.75 kB / 1.003 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.004681, allocations: 50.67 kB / 1.003 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.004782, allocations: 28.83 kB / 1.003 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.004949, allocations: 169.6 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.004963, allocations: 12.38 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.004985, allocations: 16.38 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.005154, allocations: 130.2 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.005164, allocations: 11.92 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.005177, allocations: 8 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.005181, allocations: 0 / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.005301, allocations: 87.95 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.005772, allocations: 451.2 kB / 1.004 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.005969, allocations: 94.67 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.006026, allocations: 44.97 kB / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.006044, allocations: 4 kB / 1.004 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.006174, allocations: 99.31 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.113e-06/0.006175, allocations: 0 / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0002447/0.00642, allocations: 153.5 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.00645, allocations: 59.34 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.006557, allocations: 188 kB / 1.005 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.006576, allocations: 29.7 kB / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.006631, allocations: 124.3 kB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.006656, allocations: 31.73 kB / 1.005 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.006708, allocations: 45.7 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.006782, allocations: 334.8 kB / 1.005 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-05/0.006878, allocations: 81.67 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.006991, allocations: 142.8 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.007119, allocations: 128.2 kB / 1.006 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.007121, allocations: 0 / 1.006 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002455/0.007366, allocations: 251.3 kB / 1.006 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.007394, allocations: 41.69 kB / 1.006 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007398, allocations: 0 / 1.006 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.007409, allocations: 0 / 1.006 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/0.007458, allocations: 19.92 kB / 1.006 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.007463, allocations: 0 / 1.006 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.007567, allocations: 43.84 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.007583, allocations: 12 kB / 1.006 GB, free: 6.547 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 7.402e-05/0.007657, allocations: 134.8 kB / 1.006 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.00767, allocations: 15.91 kB / 1.006 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.007702, allocations: 21.45 kB / 1.006 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007704, allocations: 0 / 1.006 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.007708, allocations: 0 / 1.006 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.007711, allocations: 0 / 1.006 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.007823, allocations: 196.6 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.007824, allocations: 0 / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.007858, allocations: 15.98 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.007859, allocations: 0 / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.007868, allocations: 12 kB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007869, allocations: 0 / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007869, allocations: 0 / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.008011, allocations: 156.8 kB / 1.007 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.008028, allocations: 15.89 kB / 1.007 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.008044, allocations: 4 kB / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.746e-05/0.008071, allocations: 4 kB / 1.007 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.008108, allocations: 15.97 kB / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.008115, allocations: 4 kB / 1.007 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.509e-05/0.00818, allocations: 139.2 kB / 1.007 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.00818, allocations: 4 kB / 1.007 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001485/0.008329, allocations: 39.89 kB / 1.007 GB, free: 5.703 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.0004024/0.008731, allocations: 0.6871 MB / 1.008 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.008951, allocations: 205 kB / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008953, allocations: 3.938 kB / 1.008 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.599e-05/0.009009, allocations: 39.98 kB / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.009177, allocations: 28.11 kB / 1.008 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.01061, allocations: 2.049 MB / 1.01 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.372e-05/0.01066, allocations: 115.3 kB / 1.01 GB, free: 2.395 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.853e-05/0.0107, allocations: 17.08 kB / 1.01 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.01076, allocations: 48.48 kB / 1.01 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.01076, allocations: 0 / 1.01 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.0256, allocations: 4.59 MB / 1.014 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.658/6.684, allocations: 5.234 kB / 1.014 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 & /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/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.586822020821273]