Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.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.001999/0.001999, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001523/0.001523, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.59/1.59, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 3.128/3.128, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.BaseClasses.Validation.HalfPeriodRatio,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio",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.002224/0.002224, allocations: 67.89 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109/1.111, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002327/1.114, allocations: 1.189 MB / 1.341 GB, free: 15.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002076/1.116, allocations: 1.431 MB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/1.116, allocations: 5.406 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.882e-05/1.116, allocations: 24.48 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001544/1.116, allocations: 58.98 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008556/1.117, allocations: 380.3 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004513/1.117, allocations: 462.5 kB / 1.344 GB, free: 13.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/1.118, allocations: 70.97 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/1.118, allocations: 175.3 kB / 1.344 GB, free: 13.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/1.118, allocations: 169.9 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.545e-05/1.118, allocations: 51.34 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/1.118, allocations: 57.7 kB / 1.344 GB, free: 13.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/1.118, allocations: 53.02 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/1.118, allocations: 166.9 kB / 1.344 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00057/1.119, allocations: 496.8 kB / 1.345 GB, free: 13.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.119, allocations: 1.281 kB / 1.345 GB, free: 13.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.984e-06/1.119, allocations: 0 / 1.345 GB, free: 13.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.173e-06/1.119, allocations: 0 / 1.345 GB, free: 13.41 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007655/1.12, allocations: 0.6267 MB / 1.345 GB, free: 12.83 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.12, allocations: 14.22 kB / 1.345 GB, free: 12.83 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.364e-05/1.12, allocations: 9.109 kB / 1.345 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/1.12, allocations: 46.86 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.876e-05/1.12, allocations: 32.56 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/1.12, allocations: 276 kB / 1.346 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/1.12, allocations: 21.41 kB / 1.346 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/1.12, allocations: 26.45 kB / 1.346 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/1.12, allocations: 152.7 kB / 1.346 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/1.12, allocations: 3.938 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/1.12, allocations: 11.88 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.12, allocations: 2.75 kB / 1.346 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/1.121, allocations: 84.45 kB / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/1.122, allocations: 0.7024 MB / 1.347 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/1.122, allocations: 104.7 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/1.122, allocations: 51.59 kB / 1.347 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/1.122, allocations: 6.891 kB / 1.347 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003295/1.122, allocations: 146.2 kB / 1.347 GB, free: 11.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/1.122, allocations: 0 / 1.347 GB, free: 11.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0005052/1.123, allocations: 246.8 kB / 1.347 GB, free: 11.63 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/1.123, allocations: 60.59 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/1.123, allocations: 214.1 kB / 1.348 GB, free: 11.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/1.123, allocations: 40.56 kB / 1.348 GB, free: 11.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/1.123, allocations: 143.3 kB / 1.348 GB, free: 11.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/1.123, allocations: 54.36 kB / 1.348 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/1.123, allocations: 86.91 kB / 1.348 GB, free: 11.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/1.124, allocations: 333.5 kB / 1.348 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/1.124, allocations: 135.9 kB / 1.348 GB, free: 10.81 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/1.124, allocations: 205 kB / 1.348 GB, free: 10.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/1.124, allocations: 329.9 kB / 1.349 GB, free: 10.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.124, allocations: 1.219 kB / 1.349 GB, free: 10.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008425/1.125, allocations: 0.5002 MB / 1.349 GB, free: 10.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.315e-05/1.125, allocations: 106.2 kB / 1.349 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.125, allocations: 3.891 kB / 1.349 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/1.125, allocations: 3.781 kB / 1.349 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/1.126, allocations: 24.44 kB / 1.349 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/1.126, allocations: 4.812 kB / 1.349 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005551/1.126, allocations: 89.95 kB / 1.35 GB, free: 9.992 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/1.126, allocations: 24.17 kB / 1.35 GB, free: 9.988 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,halPerRat.tOffSam.y,$PRE.halPerRat.tOffSam.y,halPerRat.tOnSam.y,$PRE.halPerRat.tOnSam.y,tOnSig2.booPul.y,$PRE.tOnSig2.booPul.y,tOnSig1.booPul.y,$PRE.tOnSig1.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y,samTri.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 3 * 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.0001373/1.126, allocations: 157.5 kB / 1.35 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/1.126, allocations: 21.12 kB / 1.35 GB, free: 9.836 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/1.127, allocations: 203.6 kB / 1.35 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.127, allocations: 2.719 kB / 1.35 GB, free: 9.746 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/1.127, allocations: 4.656 kB / 1.35 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.127, allocations: 1.266 kB / 1.35 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006338/1.127, allocations: 0.5571 MB / 1.35 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.127, allocations: 1.094 kB / 1.35 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.465e-05/1.127, allocations: 21.33 kB / 1.35 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/1.127, allocations: 1.953 kB / 1.35 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/1.127, allocations: 6.188 kB / 1.35 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/1.127, allocations: 5.953 kB / 1.35 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.127, allocations: 3.984 kB / 1.35 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/1.128, allocations: 291.1 kB / 1.351 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/1.128, allocations: 104.4 kB / 1.351 GB, free: 9.008 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/1.128, allocations: 6.344 kB / 1.351 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/1.128, allocations: 9.875 kB / 1.351 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/1.128, allocations: 16.38 kB / 1.351 GB, free: 8.992 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/1.128, allocations: 5.969 kB / 1.351 GB, free: 8.992 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001291/1.128, allocations: 155.1 kB / 1.351 GB, free: 8.891 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.128, allocations: 0 / 1.351 GB, free: 8.891 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003938/1.128, allocations: 78.34 kB / 1.351 GB, free: 8.871 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (samTri.y,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,halPerRat.tOnSam.y,halPerRat.tOffSam.y,tOnSig1.booPul.y,tOnSig2.booPul.y,tOff.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005583/1.129, allocations: 0.8478 MB / 1.352 GB, free: 8.133 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006207/1.13, allocations: 417.7 kB / 1.352 GB, free: 7.852 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.13, allocations: 8.062 kB / 1.352 GB, free: 7.844 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/1.13, allocations: 70.75 kB / 1.352 GB, free: 7.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/1.13, allocations: 52.95 kB / 1.352 GB, free: 7.805 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/1.134, allocations: 2.888 MB / 1.355 GB, free: 5.746 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/1.134, allocations: 0.7396 MB / 1.356 GB, free: 5.047 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.497e-05/1.134, allocations: 28.11 kB / 1.356 GB, free: 5.035 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/1.134, allocations: 69.81 kB / 1.356 GB, free: 4.984 MB / 1.061 GB Notification: Performance of SimCode: time 9.02e-07/1.134, allocations: 1.094 kB / 1.356 GB, free: 4.984 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/1.164, allocations: 5.999 MB / 1.362 GB, free: 4.316 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.587/9.751, allocations: 20.58 kB / 1.362 GB, free: 4.301 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.734726094000507] Failed to read output from testmodel.py, exit status != 0: 9.881758831033949 9.902924943 8.779705654 Calling exit ...