Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001338/0.001338, allocations: 113.5 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.001673/0.001673, allocations: 218.8 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.524/1.524, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.31/3.31, allocations: 0.49 GB / 0.7959 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_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.002557/0.002557, allocations: 61.34 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4367, allocations: 176.1 MB / 1.327 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004089/0.4407, allocations: 2.228 MB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.4436, allocations: 1.595 MB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.444, allocations: 8 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.4442, allocations: 63.19 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.4445, allocations: 91.09 kB / 1.331 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4456, allocations: 303.6 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008824/0.4465, allocations: 0.6526 MB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005414/0.447, allocations: 270.4 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003646/0.4474, allocations: 235.2 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.4477, allocations: 254.8 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.4478, allocations: 72 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.448, allocations: 91.92 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.4482, allocations: 127.6 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003254/0.4485, allocations: 290.6 kB / 1.333 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.4495, allocations: 0.8094 MB / 1.334 GB, free: 10.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4495, allocations: 0 / 1.334 GB, free: 10.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.995e-06/0.4495, allocations: 0 / 1.334 GB, free: 10.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.4495, allocations: 4 kB / 1.334 GB, free: 10.93 MB / 1.029 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.001359/0.4509, allocations: 0.7525 MB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.451, allocations: 12.03 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.612e-05/0.451, allocations: 13.5 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.4511, allocations: 94.7 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002647/0.4513, allocations: 76.55 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.4518, allocations: 298 kB / 1.335 GB, free: 9.617 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.483e-05/0.4519, allocations: 45.67 kB / 1.335 GB, free: 9.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.133e-05/0.4519, allocations: 56.38 kB / 1.335 GB, free: 9.516 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009449/0.4529, allocations: 0.5069 MB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4529, allocations: 0 / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.453, allocations: 24 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.453, allocations: 16 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007136/0.4537, allocations: 361 kB / 1.336 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.4559, allocations: 1.396 MB / 1.337 GB, free: 7.152 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.4565, allocations: 261.4 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.457, allocations: 173.6 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.457, allocations: 7.984 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004913/0.4575, allocations: 206.8 kB / 1.338 GB, free: 6.473 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.914e-06/0.4575, allocations: 0 / 1.338 GB, free: 6.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0009089/0.4584, allocations: 396.9 kB / 1.338 GB, free: 6.082 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.586e-05/0.4585, allocations: 85.05 kB / 1.338 GB, free: 5.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.459, allocations: 409.7 kB / 1.339 GB, free: 5.578 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.459, allocations: 33.7 kB / 1.339 GB, free: 5.539 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.4593, allocations: 268.4 kB / 1.339 GB, free: 5.273 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.666e-05/0.4593, allocations: 123 kB / 1.339 GB, free: 5.152 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.4595, allocations: 90.08 kB / 1.339 GB, free: 5.059 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4597, allocations: 350.7 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.46, allocations: 136.8 kB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.4603, allocations: 199.2 kB / 1.34 GB, free: 4.355 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.461, allocations: 347.1 kB / 1.34 GB, free: 3.992 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.461, allocations: 0 / 1.34 GB, free: 3.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009076/0.4619, allocations: 474.6 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.962e-05/0.4619, allocations: 37.7 kB / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.4619, allocations: 4.188 kB / 1.341 GB, free: 3.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.462, allocations: 8 kB / 1.341 GB, free: 3.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.4623, allocations: 87.83 kB / 1.341 GB, free: 3.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.4623, allocations: 4 kB / 1.341 GB, free: 3.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.4627, allocations: 79.45 kB / 1.341 GB, free: 3.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.4627, allocations: 20 kB / 1.341 GB, free: 3.273 MB / 1.029 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.000216/0.4629, allocations: 168 kB / 1.341 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.463, allocations: 47.7 kB / 1.341 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006893/0.4637, allocations: 334.1 kB / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.4637, allocations: 7.938 kB / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.4637, allocations: 0 / 1.341 GB, free: 2.711 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4637, allocations: 4 kB / 1.341 GB, free: 2.707 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.465, allocations: 0.9426 MB / 1.342 GB, free: 1.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.465, allocations: 0 / 1.342 GB, free: 1.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.4653, allocations: 59.91 kB / 1.342 GB, free: 1.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.4653, allocations: 4.188 kB / 1.342 GB, free: 1.633 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.4653, allocations: 8 kB / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.4653, allocations: 7.984 kB / 1.342 GB, free: 1.617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4653, allocations: 4 kB / 1.342 GB, free: 1.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/0.466, allocations: 0.5055 MB / 1.343 GB, free: 1.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.4661, allocations: 59.61 kB / 1.343 GB, free: 1.012 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.4661, allocations: 8 kB / 1.343 GB, free: 1.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.4663, allocations: 8 kB / 1.343 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.4664, allocations: 39.83 kB / 1.343 GB, free: 0.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.4664, allocations: 8 kB / 1.343 GB, free: 0.9492 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003225/0.4667, allocations: 295.1 kB / 1.343 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4667, allocations: 0 / 1.343 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004743/0.4672, allocations: 107.7 kB / 1.343 GB, free: 0.5547 MB / 1.029 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.001118/0.4683, allocations: 1.082 MB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007398/0.4691, allocations: 354.7 kB / 1.345 GB, free: 15.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4691, allocations: 0 / 1.345 GB, free: 15.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.4694, allocations: 130.8 kB / 1.345 GB, free: 14.95 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.47, allocations: 73.41 kB / 1.345 GB, free: 14.88 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005502/0.4755, allocations: 3.771 MB / 1.348 GB, free: 10.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.4759, allocations: 0.8237 MB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.4761, allocations: 43.27 kB / 1.349 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.4763, allocations: 151.4 kB / 1.349 GB, free: 9.898 MB / 1.045 GB Notification: Performance of SimCode: time 1.402e-06/0.4763, allocations: 0 / 1.349 GB, free: 9.898 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03592/0.5122, allocations: 7.58 MB / 1.357 GB, free: 2.516 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.54, allocations: 9.812 kB / 1.357 GB, free: 2.508 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.627224687021226] Failed to read output from testmodel.py, exit status != 0: 12.703000407025684 12.719706202 12.266734374 Calling exit ...