Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.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.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_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.008157/0.008157, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001623/0.001623, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.571/1.571, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.684/2.684, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 58.12 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3885, allocations: 140.4 MB / 1.087 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003977/0.3925, allocations: 1.822 MB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000527/0.3931, allocations: 115.6 kB / 1.089 GB, free: 100 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.3933, allocations: 4 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.3935, allocations: 19.8 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.3936, allocations: 51.55 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.3938, allocations: 32 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.3942, allocations: 167.1 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.3943, allocations: 33.09 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.3945, allocations: 63.72 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.3946, allocations: 67.73 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.3947, allocations: 8 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.601e-05/0.3947, allocations: 12 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.774e-05/0.3948, allocations: 19.92 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.916e-05/0.3949, allocations: 67.66 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3951, allocations: 127.7 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3951, allocations: 7.938 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3952, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.3952, allocations: 0 / 1.09 GB, free: 15.43 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009847/0.3962, allocations: 450.8 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.3962, allocations: 8.031 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.873e-05/0.3963, allocations: 42.73 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.3964, allocations: 24.84 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.3968, allocations: 202.2 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.3969, allocations: 8.375 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.3969, allocations: 4.375 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.3972, allocations: 122 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3973, allocations: 7.922 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.3973, allocations: 8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3973, allocations: 4 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.3976, allocations: 87.94 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.3985, allocations: 480.7 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.399, allocations: 129.2 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.3992, allocations: 61.78 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.3992, allocations: 4 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.3993, allocations: 38.55 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.3993, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006562/0.3999, allocations: 181.5 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.4, allocations: 85.11 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.4002, allocations: 171.4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.4002, allocations: 25.7 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.569e-05/0.4003, allocations: 108.1 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.4004, allocations: 35.69 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.988e-05/0.4004, allocations: 21.72 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4006, allocations: 326.7 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.4008, allocations: 43.97 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.4009, allocations: 69.61 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.4012, allocations: 97.67 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.4012, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003846/0.4016, allocations: 145.5 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4017, allocations: 5.562 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4017, allocations: 3.984 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.4017, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.4019, allocations: 19.98 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.4019, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.402, allocations: 23.81 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.4021, allocations: 8 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001254/0.4022, allocations: 117.8 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.4023, allocations: 11.91 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.4027, allocations: 158.9 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.4028, allocations: 4 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4028, allocations: 4.062 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4028, allocations: 3.938 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.4031, allocations: 225.6 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4032, allocations: 4 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.4033, allocations: 19.98 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.4033, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.4033, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4033, allocations: 7.938 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4034, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.4038, allocations: 318.5 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.897e-05/0.4039, allocations: 93.25 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.4039, allocations: 4 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.4041, allocations: 7.984 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.23e-05/0.4042, allocations: 23.84 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.4042, allocations: 0 / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001036/0.4043, allocations: 131.2 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4043, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003056/0.4046, allocations: 28 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007996/0.4054, allocations: 0.8408 MB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.4058, allocations: 103.9 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4059, allocations: 0 / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.406, allocations: 51.97 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.4065, allocations: 48.27 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.4093, allocations: 1.827 MB / 1.097 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.4097, allocations: 0.7083 MB / 1.097 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.907e-05/0.4098, allocations: 8.656 kB / 1.098 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.4099, allocations: 35.42 kB / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of SimCode: time 4.4e-07/0.4099, allocations: 0 / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.4382, allocations: 3.634 MB / 1.101 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/8.107, allocations: 15.69 kB / 1.101 GB, free: 3.684 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches