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.00118/0.00118, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001422/0.001422, allocations: 173.2 kB / 23.23 MB, free: 1.328 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.9342/0.9342, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.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.869/1.869, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 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 3.176e-06/3.176e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.459e-05, allocations: 6.219 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.Validation.Controller): time 0.001814/0.001838, allocations: 0.9662 MB / 1.002 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.003263, allocations: 1.283 MB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.003374, allocations: 0 / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.003508, allocations: 23.67 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.003577, allocations: 15.81 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.004048, allocations: 182.8 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.004289, allocations: 239.9 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.00444, allocations: 57.02 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.004667, allocations: 139.6 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.004779, allocations: 71.81 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.004808, allocations: 20 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.004956, allocations: 32 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.004988, allocations: 39.83 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.785e-05/0.005056, allocations: 63.83 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.005328, allocations: 287.1 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.005332, allocations: 0 / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.183e-06/0.005333, allocations: 0 / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.00534, allocations: 4 kB / 1.004 GB, free: 10.12 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.0005864/0.005926, allocations: 427.2 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.005968, allocations: 13.34 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.006006, allocations: 42.75 kB / 1.004 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.006147, allocations: 28.83 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.006342, allocations: 172.3 kB / 1.005 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.006358, allocations: 16.38 kB / 1.005 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.006382, allocations: 20.36 kB / 1.005 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.006568, allocations: 130.1 kB / 1.005 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.006577, allocations: 3.938 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.006591, allocations: 7.984 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.006597, allocations: 4 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.006723, allocations: 83.97 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.007293, allocations: 459.2 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.007541, allocations: 94.67 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.655e-05/0.007607, allocations: 40.84 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.007629, allocations: 0 / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.007862, allocations: 103.4 kB / 1.006 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.684e-06/0.007864, allocations: 0 / 1.006 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0002742/0.008138, allocations: 149.5 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.008174, allocations: 55.41 kB / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.008306, allocations: 188.1 kB / 1.006 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.008329, allocations: 33.7 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.008389, allocations: 120.3 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.008411, allocations: 31.73 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.008469, allocations: 49.7 kB / 1.006 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.008548, allocations: 326.7 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.008658, allocations: 89.66 kB / 1.007 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.00877, allocations: 142.8 kB / 1.007 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.008908, allocations: 130.5 kB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.00891, allocations: 0 / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002749/0.009185, allocations: 244.9 kB / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.009219, allocations: 37.69 kB / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.009228, allocations: 7.938 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.009242, allocations: 0 / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.009304, allocations: 19.94 kB / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.00931, allocations: 3.984 kB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.009423, allocations: 47.92 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.00944, allocations: 7.984 kB / 1.007 GB, free: 6.594 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.52e-05/0.009525, allocations: 130.8 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.00954, allocations: 15.91 kB / 1.007 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.009575, allocations: 17.45 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.009579, allocations: 4 kB / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.009583, allocations: 0 / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.009587, allocations: 0 / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.009721, allocations: 204.6 kB / 1.008 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.009722, allocations: 0 / 1.008 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.009766, allocations: 15.98 kB / 1.008 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.009768, allocations: 0 / 1.008 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.009777, allocations: 4 kB / 1.008 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.009782, allocations: 7.984 kB / 1.008 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009784, allocations: 0 / 1.008 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.009965, allocations: 157.4 kB / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.009982, allocations: 11.91 kB / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.01, allocations: 7.984 kB / 1.008 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.032e-05/0.01003, allocations: 8 kB / 1.008 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.01008, allocations: 19.91 kB / 1.008 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.01009, allocations: 4 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.01016, allocations: 139.2 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01016, allocations: 0 / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001686/0.01033, allocations: 39.89 kB / 1.008 GB, free: 5.742 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.000416/0.01074, allocations: 0.6865 MB / 1.009 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002501/0.01099, allocations: 201 kB / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.011, allocations: 0 / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.506e-05/0.01106, allocations: 47.91 kB / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.01127, allocations: 31.92 kB / 1.009 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.01311, allocations: 2.055 MB / 1.011 GB, free: 2.551 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.876e-05/0.01318, allocations: 103.4 kB / 1.011 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.784e-05/0.01323, allocations: 13.14 kB / 1.011 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.0133, allocations: 48.48 kB / 1.011 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of SimCode: time 1.332e-06/0.0133, allocations: 0 / 1.011 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08561/0.09891, allocations: 4.581 MB / 1.015 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.582, allocations: 13.42 kB / 1.015 GB, free: 13.99 MB / 0.9792 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.258560608141124]