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.001556/0.001556, 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.001906/0.001906, allocations: 217.8 kB / 23.03 MB, free: 4.922 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 / 256.8 MB, free: 7.809 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.406/3.406, allocations: 0.5003 GB / 0.8062 GB, free: 28.26 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.002968/0.002968, allocations: 64.75 kB / 1.171 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4411, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002905/0.444, allocations: 1.11 MB / 1.346 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.4464, allocations: 1.408 MB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.4465, allocations: 4 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.135e-05/0.4466, allocations: 19.73 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.4468, allocations: 63.56 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009916/0.4478, allocations: 380.6 kB / 1.348 GB, free: 12.98 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.4483, allocations: 459.1 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.4485, allocations: 79.39 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.4487, allocations: 175.5 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.449, allocations: 167.3 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.872e-05/0.4491, allocations: 48 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.4492, allocations: 63.97 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.4493, allocations: 51.84 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.4495, allocations: 143.5 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.4501, allocations: 0.4908 MB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.4501, allocations: 3.984 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4502, allocations: 0 / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.4502, allocations: 3.938 kB / 1.35 GB, free: 11.32 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.001106/0.4513, allocations: 0.55 MB / 1.35 GB, free: 10.71 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/0.4513, allocations: 12.03 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.562e-05/0.4514, allocations: 4.188 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.066e-05/0.4514, allocations: 46.73 kB / 1.35 GB, free: 10.64 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.4515, allocations: 32.8 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.4519, allocations: 226.3 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.4519, allocations: 16.38 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/0.452, allocations: 32.31 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.4523, allocations: 145.6 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4523, allocations: 0 / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.4523, allocations: 4 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.4523, allocations: 4 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.4525, allocations: 95.89 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.4535, allocations: 0.5772 MB / 1.352 GB, free: 9.449 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.4537, allocations: 102.5 kB / 1.352 GB, free: 9.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.4538, allocations: 44.84 kB / 1.352 GB, free: 9.293 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.4539, allocations: 4 kB / 1.352 GB, free: 9.289 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003294/0.4542, allocations: 143.5 kB / 1.352 GB, free: 9.137 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 2.024e-06/0.4542, allocations: 0 / 1.352 GB, free: 9.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0005161/0.4547, allocations: 259.1 kB / 1.352 GB, free: 8.879 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.4548, allocations: 55.41 kB / 1.352 GB, free: 8.812 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.455, allocations: 219 kB / 1.352 GB, free: 8.586 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.455, allocations: 33.7 kB / 1.352 GB, free: 8.547 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.4552, allocations: 144.6 kB / 1.352 GB, free: 8.402 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.4552, allocations: 59.52 kB / 1.353 GB, free: 8.344 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.4554, allocations: 81.66 kB / 1.353 GB, free: 8.258 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4556, allocations: 338.8 kB / 1.353 GB, free: 7.918 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.4559, allocations: 221 kB / 1.353 GB, free: 7.684 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.4563, allocations: 306.4 kB / 1.353 GB, free: 7.332 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.4568, allocations: 350.2 kB / 1.354 GB, free: 6.938 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4568, allocations: 0 / 1.354 GB, free: 6.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009397/0.4577, allocations: 0.5893 MB / 1.354 GB, free: 6.305 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.93e-05/0.4578, allocations: 101.3 kB / 1.354 GB, free: 6.188 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4578, allocations: 12 kB / 1.354 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.4579, allocations: 4 kB / 1.354 GB, free: 6.172 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.458, allocations: 27.92 kB / 1.354 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.458, allocations: 7.938 kB / 1.354 GB, free: 6.137 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.4585, allocations: 87.8 kB / 1.355 GB, free: 6.051 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/0.4586, allocations: 27.98 kB / 1.355 GB, free: 6.023 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.0002085/0.4588, allocations: 149.7 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.4589, allocations: 23.84 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003957/0.4593, allocations: 204.8 kB / 1.355 GB, free: 5.641 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4593, allocations: 4 kB / 1.355 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4593, allocations: 0 / 1.355 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.4593, allocations: 0 / 1.355 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007679/0.46, allocations: 0.5183 MB / 1.355 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.46, allocations: 0 / 1.355 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.484e-05/0.4601, allocations: 19.98 kB / 1.355 GB, free: 5.051 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4601, allocations: 3.938 kB / 1.355 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.4601, allocations: 7.938 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.4601, allocations: 7.938 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4601, allocations: 0 / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.4605, allocations: 292.8 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.4606, allocations: 27.84 kB / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.4606, allocations: 0 / 1.356 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.4607, allocations: 7.938 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.4607, allocations: 19.97 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.4608, allocations: 4 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001616/0.4609, allocations: 156.4 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4609, allocations: 0 / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004123/0.4613, allocations: 75.88 kB / 1.356 GB, free: 4.445 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.0007729/0.4621, allocations: 0.8334 MB / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007685/0.4629, allocations: 0.5129 MB / 1.357 GB, free: 3.016 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4629, allocations: 4 kB / 1.357 GB, free: 3.012 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.463, allocations: 60.42 kB / 1.357 GB, free: 2.953 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.4635, allocations: 67.83 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.4681, allocations: 3.275 MB / 1.361 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.4683, allocations: 125.9 kB / 1.361 GB, free: 15.23 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.4684, allocations: 21.95 kB / 1.361 GB, free: 15.21 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.4685, allocations: 71.41 kB / 1.361 GB, free: 15.14 MB / 1.061 GB Notification: Performance of SimCode: time 1.533e-06/0.4685, allocations: 0 / 1.361 GB, free: 15.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.4972, allocations: 6.525 MB / 1.367 GB, free: 8.879 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.14, allocations: 5.688 kB / 1.367 GB, free: 8.875 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.489899221109226] Failed to read output from testmodel.py, exit status != 0: 12.295709906029515 12.310251259 11.857005807 Calling exit ...