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.001781/0.001781, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002106/0.002106, allocations: 214.9 kB / 23.03 MB, free: 4.918 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.29/3.29, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",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="cs",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.002037/0.002037, allocations: 64.7 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.4076, allocations: 176.1 MB / 1.327 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.002407/0.41, allocations: 0.9792 MB / 1.328 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.412, allocations: 1.276 MB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.4121, allocations: 4 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.4123, allocations: 15.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.482e-05/0.4124, allocations: 31.72 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.413, allocations: 173.2 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.4133, allocations: 236 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.4135, allocations: 69.16 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.4137, allocations: 95.7 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.4139, allocations: 91.59 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.414, allocations: 20 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.4141, allocations: 39.98 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.4141, allocations: 35.91 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.4142, allocations: 75.64 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.4146, allocations: 266.9 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4146, allocations: 0 / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4146, allocations: 8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.4146, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 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.0008191/0.4155, allocations: 423.2 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4155, allocations: 8.031 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.531e-05/0.4155, allocations: 4.188 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.4156, allocations: 46.73 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.4158, allocations: 32.78 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.416, allocations: 172 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.416, allocations: 16.38 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.4161, allocations: 23.94 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.4164, allocations: 133.5 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4164, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.4164, allocations: 8 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4164, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.4166, allocations: 83.95 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000768/0.4174, allocations: 451.3 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.4177, allocations: 102.7 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.4178, allocations: 36.84 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.4178, allocations: 4 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.4181, allocations: 95.48 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.552e-06/0.4181, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004269/0.4186, allocations: 149.5 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.4186, allocations: 59.41 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.4188, allocations: 187 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.4189, allocations: 33.7 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.419, allocations: 120.3 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.419, allocations: 31.75 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/0.4191, allocations: 45.69 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4193, allocations: 326.8 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.4195, allocations: 81.67 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.4197, allocations: 148 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.42, allocations: 135.7 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.42, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000454/0.4204, allocations: 248.9 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.4205, allocations: 33.7 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.4205, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4205, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.4206, allocations: 23.86 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4206, allocations: 4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.4208, allocations: 55.78 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.4208, allocations: 8 kB / 1.333 GB, free: 10.59 MB / 1.029 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.0001264/0.421, allocations: 126.9 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.421, allocations: 15.91 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.4211, allocations: 17.41 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4211, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4211, allocations: 4 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.4211, allocations: 7.922 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.4213, allocations: 204.6 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4213, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-05/0.4214, allocations: 12 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.4214, allocations: 4 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.4214, allocations: 3.984 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4214, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4214, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.4217, allocations: 153.4 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.4217, allocations: 19.84 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.4218, allocations: 4 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.4218, allocations: 15.98 kB / 1.334 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.4219, allocations: 15.91 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.4219, allocations: 7.938 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001293/0.422, allocations: 135.2 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.422, allocations: 0 / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002498/0.4223, allocations: 31.95 kB / 1.334 GB, free: 9.75 MB / 1.029 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.0006464/0.4229, allocations: 0.6944 MB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.4233, allocations: 204.9 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4234, allocations: 0 / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.4235, allocations: 47.92 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.4238, allocations: 27.91 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.4264, allocations: 2.054 MB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.4266, allocations: 99.23 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.791e-05/0.4266, allocations: 17.08 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.363e-05/0.4267, allocations: 39.42 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4267, allocations: 11.94 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.4527, allocations: 4.074 MB / 1.341 GB, free: 2.504 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.18, allocations: 7.266 kB / 1.341 GB, free: 2.5 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 19.47450349398423] Failed to read output from testmodel.py, exit status != 0: 12.349237310001627 12.378846168 11.958807279 Calling exit ...