Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_10_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.006338/0.006338, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.001628/0.001628, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.211/2.211, allocations: 437.1 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 67.83 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5828/0.5845, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00243/0.5869, allocations: 1.834 MB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002368/0.5872, allocations: 119.6 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.5873, allocations: 4 kB / 1.168 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.485e-05/0.5874, allocations: 15.8 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.447e-05/0.5875, allocations: 55.55 kB / 1.168 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.5876, allocations: 31.95 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.5878, allocations: 167.1 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.772e-05/0.5879, allocations: 29.11 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.054e-05/0.5879, allocations: 59.77 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.588, allocations: 67.75 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.5881, allocations: 8 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.536e-05/0.5881, allocations: 12 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.5881, allocations: 19.92 kB / 1.168 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.811e-05/0.5882, allocations: 67.66 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.5884, allocations: 131.1 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5884, allocations: 0 / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5884, allocations: 0 / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.5884, allocations: 0 / 1.169 GB, free: 1.172 MB / 0.8887 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.0006708/0.5891, allocations: 454.7 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.5891, allocations: 8.922 kB / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.5891, allocations: 50.67 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.5892, allocations: 16.83 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.5894, allocations: 208.1 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.5894, allocations: 4.375 kB / 1.169 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.5894, allocations: 8.375 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.5897, allocations: 115.8 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5897, allocations: 3.938 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.5897, allocations: 8 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5897, allocations: 4 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.59, allocations: 87.94 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006333/0.5906, allocations: 480.7 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.591, allocations: 133.2 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.5911, allocations: 57.78 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.5912, allocations: 4 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.5912, allocations: 30.56 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.5912, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0005161/0.5917, allocations: 185.4 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.5918, allocations: 89.05 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.5919, allocations: 174.4 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.592, allocations: 25.7 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.592, allocations: 108.1 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.592, allocations: 31.73 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.5921, allocations: 21.72 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5922, allocations: 322.8 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.5924, allocations: 47.97 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.5925, allocations: 65.61 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.5928, allocations: 97.67 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.5928, allocations: 0 / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003392/0.5931, allocations: 153.7 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.5931, allocations: 4 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.5931, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.5932, allocations: 4 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.5933, allocations: 23.97 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.5933, allocations: 0 / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.5934, allocations: 23.81 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.5934, allocations: 4 kB / 1.172 GB, free: 13.91 MB / 0.9044 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 8.589e-05/0.5935, allocations: 126 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.5936, allocations: 7.953 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.594, allocations: 158.5 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.594, allocations: 4 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.594, allocations: 3.984 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.594, allocations: 3.938 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.5943, allocations: 225.6 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5943, allocations: 4 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.5944, allocations: 19.98 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5944, allocations: 0 / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.5944, allocations: 0 / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5944, allocations: 4 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5944, allocations: 0 / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.5948, allocations: 318.5 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.5949, allocations: 89 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.5949, allocations: 8 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.5951, allocations: 7.984 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.5951, allocations: 15.86 kB / 1.173 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.5951, allocations: 4.188 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.851e-05/0.5952, allocations: 128.2 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5952, allocations: 0 / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002521/0.5955, allocations: 28 kB / 1.173 GB, free: 12.67 MB / 0.9044 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.0006382/0.5961, allocations: 0.8444 MB / 1.174 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.5964, allocations: 111.9 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5964, allocations: 0 / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.5966, allocations: 51.97 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.597, allocations: 52.34 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.599, allocations: 1.817 MB / 1.176 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.5992, allocations: 0.7045 MB / 1.176 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.175e-05/0.5993, allocations: 8.656 kB / 1.176 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.5994, allocations: 39.42 kB / 1.176 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of SimCode: time 1.743e-06/0.5994, allocations: 0 / 1.176 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.899/3.498, allocations: 3.644 MB / 1.18 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/16.2, allocations: 13.8 kB / 1.18 GB, free: 5.43 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches