Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.001128/0.001128, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 197 kB / 16.53 MB, free: 6.672 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.635/2.635, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5624, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1232/0.6856, allocations: 132.3 MB / 1.147 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02999/0.7156, allocations: 23.22 MB / 1.169 GB, free: 6.492 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003848/0.7195, allocations: 127.2 kB / 1.169 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003845/0.7234, allocations: 1.494 MB / 1.171 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.7334, allocations: 4.098 MB / 1.175 GB, free: 0.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004997/0.7384, allocations: 2.154 MB / 1.177 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007652/0.7461, allocations: 6.525 MB / 1.183 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003409/0.7495, allocations: 2.357 MB / 1.186 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005504/0.7551, allocations: 2.748 MB / 1.188 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003211/0.7583, allocations: 1.886 MB / 1.19 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007017/0.759, allocations: 248 kB / 1.19 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004457/0.7635, allocations: 1.934 MB / 1.192 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008059/0.7643, allocations: 0.5953 MB / 1.193 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.7665, allocations: 1.458 MB / 1.194 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006246/0.7728, allocations: 4.312 MB / 1.198 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7728, allocations: 0 / 1.198 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7728, allocations: 0 / 1.198 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.527e-05/0.7729, allocations: 0 / 1.198 GB, free: 8.445 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.006176/0.7791, allocations: 3.191 MB / 1.202 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7792, allocations: 11.98 kB / 1.202 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003168/0.7795, allocations: 224 kB / 1.202 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004731/0.7842, allocations: 0.84 MB / 1.203 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004083/0.7883, allocations: 2.206 MB / 1.205 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001027/0.7894, allocations: 290.8 kB / 1.205 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.7896, allocations: 160 kB / 1.205 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004108/0.7937, allocations: 1.938 MB / 1.207 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.7938, allocations: 0 / 1.207 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.794, allocations: 64 kB / 1.207 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.188e-05/0.794, allocations: 43.92 kB / 1.207 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00502/0.799, allocations: 1.827 MB / 1.209 GB, free: 13.42 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.8118, allocations: 9.082 MB / 1.218 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004566/0.8164, allocations: 1.202 MB / 1.219 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.8176, allocations: 461.4 kB / 1.219 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001097/0.8187, allocations: 1.722 MB / 1.221 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.8187, allocations: 46.55 kB / 1.221 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=76): time 2.495e-06/0.8188, allocations: 3.938 kB / 1.221 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76): time 0.009068/0.8278, allocations: 2.333 MB / 1.223 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.8279, allocations: 85.11 kB / 1.224 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004126/0.832, allocations: 2.544 MB / 1.226 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.8322, allocations: 41.7 kB / 1.226 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008734/0.833, allocations: 1.041 MB / 1.227 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.8333, allocations: 280.1 kB / 1.227 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004386/0.8338, allocations: 250.6 kB / 1.228 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.8339, allocations: 357.9 kB / 1.228 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.8358, allocations: 0.5842 MB / 1.229 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.8381, allocations: 0.9699 MB / 1.229 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003208/0.8413, allocations: 1.256 MB / 1.231 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.8413, allocations: 8 kB / 1.231 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007031/0.8483, allocations: 2.048 MB / 1.233 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.8484, allocations: 8 kB / 1.233 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.8484, allocations: 15.98 kB / 1.233 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/0.8502, allocations: 497 kB / 1.233 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.8515, allocations: 283.6 kB / 1.233 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.8538, allocations: 1.521 MB / 1.235 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002992/0.8568, allocations: 397.1 kB / 1.235 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.8569, allocations: 59.97 kB / 1.235 GB, free: 0.9102 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000803/0.8577, allocations: 459 kB / 1.236 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005531/0.8583, allocations: 252.8 kB / 1.236 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.8622, allocations: 1.506 MB / 1.238 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.8622, allocations: 8 kB / 1.238 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8622, allocations: 0 / 1.238 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.8622, allocations: 3.984 kB / 1.238 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007747/0.87, allocations: 3.618 MB / 1.241 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.87, allocations: 4 kB / 1.241 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006552/0.8707, allocations: 136.1 kB / 1.241 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/0.8724, allocations: 495.1 kB / 1.242 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/0.8724, allocations: 23.98 kB / 1.242 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/0.8751, allocations: 1.588 MB / 1.243 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.8752, allocations: 0 / 1.243 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006311/0.8815, allocations: 1.935 MB / 1.245 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009553/0.8824, allocations: 497.5 kB / 1.246 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004651/0.8829, allocations: 19.91 kB / 1.246 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/0.8849, allocations: 147.8 kB / 1.246 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-05/0.885, allocations: 59.86 kB / 1.246 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.369e-05/0.8851, allocations: 39.97 kB / 1.246 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003211/0.8883, allocations: 1.793 MB / 1.248 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8883, allocations: 192 / 1.248 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001933/0.8903, allocations: 0.6867 MB / 1.248 GB, free: 3.402 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007518/0.8978, allocations: 3.007 MB / 1.251 GB, free: 336 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.3993/1.297, allocations: 1.383 MB / 1.253 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.297, allocations: 3.969 kB / 1.253 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002622/1.3, allocations: 0.6744 MB / 1.253 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006362/1.306, allocations: 1.339 MB / 1.255 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03895/1.345, allocations: 19.23 MB / 1.273 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/1.347, allocations: 1.494 MB / 1.275 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002967/1.35, allocations: 441.3 kB / 1.275 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/1.351, allocations: 0.8996 MB / 1.276 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.192e-06/1.351, allocations: 1.25 kB / 1.276 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09346/1.444, allocations: 68.51 MB / 1.343 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.55, allocations: 10.75 kB / 1.343 GB, free: 157.6 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches