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.001906/0.001906, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002446/0.002446, allocations: 217 kB / 23.05 MB, free: 5.074 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.283/3.283, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 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.001967/0.001967, allocations: 66.06 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.388, allocations: 179 MB / 1.345 GB, free: 488 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002945/0.3909, allocations: 1.197 MB / 1.347 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.3933, allocations: 1.436 MB / 1.348 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.3935, allocations: 4 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.03e-05/0.3935, allocations: 23.67 kB / 1.348 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.3937, allocations: 55.59 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.3948, allocations: 380 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005674/0.3954, allocations: 463.1 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.3956, allocations: 79.39 kB / 1.349 GB, free: 12.85 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.3958, allocations: 179.5 kB / 1.349 GB, free: 12.68 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.3961, allocations: 155.5 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.076e-05/0.3961, allocations: 48 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.3962, allocations: 59.98 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.3963, allocations: 55.78 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.3965, allocations: 171.3 kB / 1.35 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006022/0.3971, allocations: 498.5 kB / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.3971, allocations: 0 / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3971, allocations: 0 / 1.35 GB, free: 11.71 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.3971, allocations: 0 / 1.35 GB, free: 11.71 MB / 1.045 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.0009459/0.398, allocations: 0.5544 MB / 1.351 GB, free: 11.1 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3981, allocations: 8.031 kB / 1.351 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.266e-05/0.3981, allocations: 8.188 kB / 1.351 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.15e-05/0.3982, allocations: 50.73 kB / 1.351 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.3983, allocations: 36.78 kB / 1.351 GB, free: 10.99 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.3986, allocations: 218.3 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.3987, allocations: 20.36 kB / 1.351 GB, free: 10.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-05/0.3987, allocations: 24.38 kB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.399, allocations: 149.5 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.399, allocations: 0 / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.399, allocations: 11.98 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.3991, allocations: 4 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.3992, allocations: 79.97 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.4004, allocations: 0.6745 MB / 1.352 GB, free: 9.746 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.4006, allocations: 100.5 kB / 1.352 GB, free: 9.641 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.051e-05/0.4007, allocations: 48.78 kB / 1.352 GB, free: 9.59 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.4007, allocations: 11.92 kB / 1.352 GB, free: 9.578 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003411/0.401, allocations: 147.2 kB / 1.352 GB, free: 9.422 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 2.034e-06/0.401, allocations: 0 / 1.352 GB, free: 9.422 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0005353/0.4016, allocations: 243.2 kB / 1.352 GB, free: 9.18 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.4016, allocations: 63.39 kB / 1.352 GB, free: 9.105 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.4019, allocations: 211 kB / 1.353 GB, free: 8.887 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.402, allocations: 41.7 kB / 1.353 GB, free: 8.84 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.4021, allocations: 140.5 kB / 1.353 GB, free: 8.699 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/0.4022, allocations: 59.53 kB / 1.353 GB, free: 8.641 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.4023, allocations: 85.66 kB / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4025, allocations: 334.8 kB / 1.353 GB, free: 8.215 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.4028, allocations: 127.9 kB / 1.353 GB, free: 8.09 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.4032, allocations: 217.2 kB / 1.354 GB, free: 7.844 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.4037, allocations: 338.3 kB / 1.354 GB, free: 7.461 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4037, allocations: 0 / 1.354 GB, free: 7.461 MB / 1.045 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008853/0.4045, allocations: 0.4943 MB / 1.354 GB, free: 6.941 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.4046, allocations: 109.1 kB / 1.354 GB, free: 6.816 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4047, allocations: 8.25 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4047, allocations: 4 kB / 1.354 GB, free: 6.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.4048, allocations: 23.92 kB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.4048, allocations: 4 kB / 1.354 GB, free: 6.777 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.4053, allocations: 87.8 kB / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.4054, allocations: 27.98 kB / 1.355 GB, free: 6.664 MB / 1.045 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.000178/0.4055, allocations: 157.9 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.4056, allocations: 19.86 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.4059, allocations: 209 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4059, allocations: 0 / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4059, allocations: 0 / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4059, allocations: 0 / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.4066, allocations: 0.54 MB / 1.355 GB, free: 5.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4066, allocations: 0 / 1.355 GB, free: 5.684 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.4067, allocations: 23.92 kB / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4067, allocations: 0 / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.4067, allocations: 0 / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4067, allocations: 7.938 kB / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4067, allocations: 0 / 1.355 GB, free: 5.652 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.4071, allocations: 289.2 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.4071, allocations: 24.09 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.4071, allocations: 8 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.829e-05/0.4072, allocations: 7.938 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.4073, allocations: 15.97 kB / 1.356 GB, free: 5.301 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.4073, allocations: 8 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001554/0.4074, allocations: 156.3 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4074, allocations: 0 / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003646/0.4078, allocations: 79.81 kB / 1.356 GB, free: 5.062 MB / 1.045 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.0007331/0.4085, allocations: 0.8354 MB / 1.357 GB, free: 4.199 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006742/0.4092, allocations: 429.9 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4092, allocations: 0 / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.4093, allocations: 63.92 kB / 1.357 GB, free: 3.68 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.4098, allocations: 67.38 kB / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.4137, allocations: 2.877 MB / 1.36 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.414, allocations: 0.7398 MB / 1.361 GB, free: 15.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.679e-05/0.4141, allocations: 21.95 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.4142, allocations: 75.41 kB / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.4142, allocations: 0 / 1.361 GB, free: 15.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.4426, allocations: 6.155 MB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.02, allocations: 16.02 kB / 1.367 GB, free: 9.77 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.15500404301565] Failed to read output from testmodel.py, exit status != 0: 12.1871360699879 12.209406943 11.808289222 Calling exit ...