Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008307/0.0008307, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 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.001274/0.001274, allocations: 220.3 kB / 23.03 MB, free: 2.953 MB / 13.93 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.9418/0.9418, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.899/1.899, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_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_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7604, allocations: 180 MB / 1.352 GB, free: 1.555 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001671/0.762, allocations: 0.9705 MB / 1.353 GB, free: 0.582 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.7632, allocations: 1.272 MB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.7633, allocations: 4 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.7635, allocations: 15.8 kB / 1.355 GB, free: 15.28 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.25e-05/0.7635, allocations: 31.73 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.764, allocations: 179.5 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.7642, allocations: 220.1 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.7643, allocations: 60.89 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.7645, allocations: 99.69 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.7646, allocations: 79.53 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.7647, allocations: 24 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.271e-05/0.7647, allocations: 51.97 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.7648, allocations: 27.92 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.101e-05/0.7648, allocations: 79.64 kB / 1.355 GB, free: 14.44 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.7652, allocations: 261.2 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7652, allocations: 0 / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.795e-06/0.7652, allocations: 0 / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.7652, allocations: 0 / 1.356 GB, free: 14.18 MB / 1.042 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.0006124/0.7658, allocations: 427.3 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.7658, allocations: 12.92 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.7659, allocations: 50.73 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.766, allocations: 28.83 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.7662, allocations: 173.2 kB / 1.356 GB, free: 13.44 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.7662, allocations: 12.31 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.7662, allocations: 20.12 kB / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.7664, allocations: 129.6 kB / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.7664, allocations: 0 / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.7664, allocations: 8 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.7664, allocations: 0 / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.7665, allocations: 95.89 kB / 1.357 GB, free: 13.18 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.767, allocations: 459.2 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.7673, allocations: 98.61 kB / 1.357 GB, free: 12.58 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.253e-05/0.7673, allocations: 40.84 kB / 1.357 GB, free: 12.54 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.7673, allocations: 7.984 kB / 1.357 GB, free: 12.53 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.7675, allocations: 83.38 kB / 1.357 GB, free: 12.43 MB / 1.042 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.7675, allocations: 0 / 1.357 GB, free: 12.43 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.0002683/0.7678, allocations: 165.9 kB / 1.357 GB, free: 12.27 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.7678, allocations: 55.41 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.7679, allocations: 182.7 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.768, allocations: 29.7 kB / 1.358 GB, free: 11.97 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.128e-05/0.768, allocations: 120.3 kB / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.768, allocations: 39.67 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.7681, allocations: 45.69 kB / 1.358 GB, free: 11.76 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.7682, allocations: 330.8 kB / 1.358 GB, free: 11.43 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.7683, allocations: 81.67 kB / 1.358 GB, free: 11.34 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.7684, allocations: 142.8 kB / 1.358 GB, free: 11.18 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.7685, allocations: 134.2 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7685, allocations: 0 / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002558/0.7688, allocations: 244.9 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.7688, allocations: 37.7 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7688, allocations: 0 / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.7689, allocations: 4.094 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-05/0.7689, allocations: 19.92 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.7689, allocations: 4 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.769, allocations: 39.84 kB / 1.359 GB, free: 10.67 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.769, allocations: 19.88 kB / 1.359 GB, free: 10.65 MB / 1.042 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.584e-05/0.7691, allocations: 127.1 kB / 1.359 GB, free: 10.52 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.7691, allocations: 15.91 kB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.7692, allocations: 25.39 kB / 1.359 GB, free: 10.47 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.7692, allocations: 0 / 1.359 GB, free: 10.47 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7692, allocations: 0 / 1.359 GB, free: 10.47 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7692, allocations: 0 / 1.359 GB, free: 10.47 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.7693, allocations: 192.6 kB / 1.359 GB, free: 10.24 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7693, allocations: 0 / 1.359 GB, free: 10.24 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.7694, allocations: 19.92 kB / 1.359 GB, free: 10.22 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7694, allocations: 3.984 kB / 1.359 GB, free: 10.22 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.7694, allocations: 4 kB / 1.359 GB, free: 10.21 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.7694, allocations: 0 / 1.359 GB, free: 10.21 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7694, allocations: 3.984 kB / 1.359 GB, free: 10.21 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.7696, allocations: 160.9 kB / 1.359 GB, free: 10.04 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.7696, allocations: 19.84 kB / 1.359 GB, free: 10.02 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.7696, allocations: 4 kB / 1.359 GB, free: 10.01 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.093e-05/0.7696, allocations: 7.984 kB / 1.359 GB, free: 10 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.7697, allocations: 15.98 kB / 1.359 GB, free: 9.988 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.7697, allocations: 7.984 kB / 1.359 GB, free: 9.98 MB / 1.042 GB Notification: Performance of sorting global known variables: time 7.203e-05/0.7698, allocations: 139.2 kB / 1.36 GB, free: 9.844 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.7698, allocations: 0 / 1.36 GB, free: 9.844 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001621/0.7699, allocations: 35.94 kB / 1.36 GB, free: 9.809 MB / 1.042 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.0003815/0.7703, allocations: 0.6943 MB / 1.36 GB, free: 9.086 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.7706, allocations: 200.9 kB / 1.361 GB, free: 8.871 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.7706, allocations: 0 / 1.361 GB, free: 8.871 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.369e-05/0.7706, allocations: 43.92 kB / 1.361 GB, free: 8.828 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.7708, allocations: 35.8 kB / 1.361 GB, free: 8.793 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.7724, allocations: 2.045 MB / 1.363 GB, free: 6.625 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.946e-05/0.7725, allocations: 103.2 kB / 1.363 GB, free: 6.508 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.444e-05/0.7725, allocations: 17.08 kB / 1.363 GB, free: 6.488 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.7726, allocations: 47.42 kB / 1.363 GB, free: 6.441 MB / 1.042 GB Notification: Performance of SimCode: time 5.51e-07/0.7726, allocations: 0 / 1.363 GB, free: 6.441 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08076/0.8534, allocations: 4.45 MB / 1.367 GB, free: 2.176 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.898, allocations: 6.5 kB / 1.367 GB, free: 2.172 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.fmu) > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_Validation_Controller.fmu) > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.635644489899278]