Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005478/0.005478, allocations: 102.3 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 195.9 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 59.91 kB / 0.9504 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.981/0.9825, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.00299/0.9855, allocations: 2.217 MB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002352/0.9879, allocations: 1.521 MB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.9882, allocations: 12.38 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001462/0.9883, allocations: 64.52 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.9886, allocations: 85.66 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.9895, allocations: 304.5 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007041/0.9902, allocations: 0.6373 MB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.9907, allocations: 362.1 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.991, allocations: 233 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.9912, allocations: 256 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.9914, allocations: 70.28 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.9916, allocations: 88.48 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.9917, allocations: 134.1 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.9919, allocations: 284.1 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000992/0.9929, allocations: 0.8011 MB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9929, allocations: 1.922 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.375e-06/0.9929, allocations: 0 / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.993, allocations: 0 / 1.094 GB, free: 0.8477 MB / 0.8575 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.001257/0.9942, allocations: 0.8096 MB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.9943, allocations: 9.75 kB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.653e-05/0.9944, allocations: 97.61 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.9945, allocations: 63.67 kB / 1.095 GB, free: 104 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/0.9951, allocations: 357.5 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.9952, allocations: 50.05 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.9953, allocations: 63.83 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.9965, allocations: 0.5006 MB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.9965, allocations: 4.469 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.9966, allocations: 21.58 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.9966, allocations: 14.06 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008592/0.9975, allocations: 356.3 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.9998, allocations: 1.446 MB / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/1, allocations: 282 kB / 1.098 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/1.001, allocations: 181.7 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.292e-05/1.001, allocations: 21.61 kB / 1.098 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004457/1.001, allocations: 199.1 kB / 1.099 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 2.364e-06/1.001, allocations: 0 / 1.099 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.0009476/1.002, allocations: 393.6 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/1.002, allocations: 82.55 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/1.003, allocations: 414.6 kB / 1.099 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/1.003, allocations: 33.27 kB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/1.003, allocations: 262.5 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.196e-05/1.003, allocations: 110.2 kB / 1.1 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/1.003, allocations: 80.91 kB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.004, allocations: 357.7 kB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/1.004, allocations: 134 kB / 1.1 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/1.004, allocations: 201.9 kB / 1.101 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005927/1.005, allocations: 340.9 kB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.005, allocations: 0.9375 kB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009614/1.006, allocations: 478 kB / 1.101 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/1.006, allocations: 41 kB / 1.101 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/1.006, allocations: 1.688 kB / 1.101 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/1.006, allocations: 3 kB / 1.101 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/1.006, allocations: 75.62 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/1.006, allocations: 8.062 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/1.007, allocations: 83.66 kB / 1.102 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/1.007, allocations: 19.42 kB / 1.102 GB, free: 12.29 MB / 0.8731 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.0001949/1.007, allocations: 170.6 kB / 1.102 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/1.007, allocations: 38.81 kB / 1.102 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007141/1.008, allocations: 329.5 kB / 1.102 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.008, allocations: 7.469 kB / 1.102 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.008, allocations: 1.031 kB / 1.102 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/1.008, allocations: 1.969 kB / 1.102 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/1.009, allocations: 0.9737 MB / 1.103 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.009, allocations: 5.594 kB / 1.103 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/1.01, allocations: 63.7 kB / 1.103 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/1.01, allocations: 2.562 kB / 1.103 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/1.01, allocations: 8.656 kB / 1.103 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.01, allocations: 3.062 kB / 1.103 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.01, allocations: 3.188 kB / 1.103 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/1.01, allocations: 0.5209 MB / 1.104 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/1.01, allocations: 129.8 kB / 1.104 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/1.011, allocations: 13.67 kB / 1.104 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/1.011, allocations: 15.94 kB / 1.104 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/1.011, allocations: 28.73 kB / 1.104 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/1.011, allocations: 13.16 kB / 1.104 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003267/1.011, allocations: 291.1 kB / 1.104 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.011, allocations: 0 / 1.104 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005001/1.012, allocations: 108.3 kB / 1.104 GB, free: 10.57 MB / 0.8731 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.0009701/1.013, allocations: 1.056 MB / 1.105 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007546/1.013, allocations: 389 kB / 1.106 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.013, allocations: 0 / 1.106 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002772/1.014, allocations: 140.2 kB / 1.106 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/1.014, allocations: 69.73 kB / 1.106 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005224/1.02, allocations: 3.761 MB / 1.11 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/1.02, allocations: 0.824 MB / 1.11 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000201/1.02, allocations: 44.59 kB / 1.11 GB, free: 6.262 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/1.021, allocations: 155.9 kB / 1.111 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of SimCode: time 7.62e-07/1.021, allocations: 0 / 1.111 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/1.052, allocations: 7.361 MB / 1.118 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.558/9.61, allocations: 11.88 kB / 1.118 GB, free: 5.387 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches