Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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.00177/0.00177, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.00227/0.00227, allocations: 212.7 kB / 23.04 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.7 MB / 0.7714 GB, free: 4.359 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",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.002093/0.002093, allocations: 62.97 kB / 1.118 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.392, allocations: 169.9 MB / 1.284 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003983/0.396, allocations: 2.227 MB / 1.286 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.399, allocations: 1.598 MB / 1.288 GB, free: 48 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.3993, allocations: 8 kB / 1.288 GB, free: 40 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.3995, allocations: 55.38 kB / 1.288 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.3998, allocations: 95.03 kB / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009089/0.4008, allocations: 306.5 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007831/0.4015, allocations: 0.6486 MB / 1.289 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004919/0.402, allocations: 262.4 kB / 1.289 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002957/0.4023, allocations: 231.3 kB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003185/0.4026, allocations: 262.7 kB / 1.29 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.442e-05/0.4027, allocations: 72 kB / 1.29 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.4029, allocations: 99.92 kB / 1.29 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.403, allocations: 127.6 kB / 1.29 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.4033, allocations: 294.5 kB / 1.29 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009266/0.4042, allocations: 0.8016 MB / 1.291 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4042, allocations: 0 / 1.291 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4042, allocations: 4 kB / 1.291 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.4043, allocations: 0 / 1.291 GB, free: 12.8 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00135/0.4056, allocations: 0.7525 MB / 1.292 GB, free: 12 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.4057, allocations: 12.03 kB / 1.292 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.963e-05/0.4057, allocations: 13.5 kB / 1.292 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.4058, allocations: 110.6 kB / 1.292 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.4061, allocations: 64.56 kB / 1.292 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/0.4065, allocations: 294 kB / 1.292 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/0.4066, allocations: 41.69 kB / 1.292 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.4067, allocations: 60.38 kB / 1.292 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009182/0.4076, allocations: 0.503 MB / 1.293 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.4076, allocations: 7.938 kB / 1.293 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/0.4077, allocations: 20 kB / 1.293 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.4077, allocations: 16 kB / 1.293 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/0.4084, allocations: 357.1 kB / 1.293 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.4106, allocations: 1.404 MB / 1.295 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006066/0.4112, allocations: 265.2 kB / 1.295 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004222/0.4117, allocations: 173.7 kB / 1.295 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.4117, allocations: 8 kB / 1.295 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004793/0.4122, allocations: 191 kB / 1.295 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.4122, allocations: 4 kB / 1.295 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0009099/0.4131, allocations: 391 kB / 1.296 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.4132, allocations: 89.05 kB / 1.296 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004891/0.4136, allocations: 405.7 kB / 1.296 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.4137, allocations: 33.7 kB / 1.296 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.4139, allocations: 280.4 kB / 1.296 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.414, allocations: 111 kB / 1.296 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.4142, allocations: 98 kB / 1.297 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.4144, allocations: 350.7 kB / 1.297 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.4147, allocations: 132.8 kB / 1.297 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.4151, allocations: 207.2 kB / 1.297 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006255/0.4157, allocations: 342.6 kB / 1.297 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.4157, allocations: 4 kB / 1.298 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009439/0.4166, allocations: 472 kB / 1.298 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/0.4167, allocations: 41.69 kB / 1.298 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4167, allocations: 8.188 kB / 1.298 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.4167, allocations: 4 kB / 1.298 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.4171, allocations: 83.78 kB / 1.298 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.4171, allocations: 7.984 kB / 1.298 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003805/0.4175, allocations: 75.53 kB / 1.298 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.4175, allocations: 23.98 kB / 1.298 GB, free: 5.145 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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 0.0002287/0.4177, allocations: 169.8 kB / 1.298 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.4178, allocations: 43.72 kB / 1.298 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007526/0.4186, allocations: 327.5 kB / 1.299 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.4186, allocations: 7.938 kB / 1.299 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4186, allocations: 4 kB / 1.299 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4186, allocations: 3.984 kB / 1.299 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.42, allocations: 0.9425 MB / 1.3 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.42, allocations: 4 kB / 1.3 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.4202, allocations: 56.09 kB / 1.3 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.4202, allocations: 8 kB / 1.3 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.4203, allocations: 8 kB / 1.3 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.4203, allocations: 7.938 kB / 1.3 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4203, allocations: 0 / 1.3 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.421, allocations: 0.5123 MB / 1.3 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.4211, allocations: 51.64 kB / 1.3 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.4211, allocations: 8 kB / 1.3 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.4213, allocations: 15.98 kB / 1.3 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.4214, allocations: 35.83 kB / 1.3 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.4214, allocations: 8 kB / 1.3 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003392/0.4218, allocations: 291.2 kB / 1.301 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4218, allocations: 0 / 1.301 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004988/0.4223, allocations: 107.7 kB / 1.301 GB, free: 2.441 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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.001216/0.4235, allocations: 1.08 MB / 1.302 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007881/0.4243, allocations: 353.5 kB / 1.302 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4243, allocations: 0 / 1.302 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.4246, allocations: 128.4 kB / 1.302 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.4252, allocations: 65.53 kB / 1.302 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/0.4309, allocations: 3.777 MB / 1.306 GB, free: 12.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005692/0.4314, allocations: 0.8198 MB / 1.307 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.4316, allocations: 47.25 kB / 1.307 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.4319, allocations: 159.4 kB / 1.307 GB, free: 11.78 MB / 1.014 GB Notification: Performance of SimCode: time 1.142e-06/0.4319, allocations: 0 / 1.307 GB, free: 11.78 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.4645, allocations: 7.572 MB / 1.314 GB, free: 4.398 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.53, allocations: 11.84 kB / 1.314 GB, free: 4.391 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.34514265996404] Failed to read output from testmodel.py, exit status != 0: 12.698757075006142 12.721272509 12.312632885 Calling exit ...