Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_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.001058/0.001058, allocations: 108 kB / 15.61 MB, free: 152 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.001019/0.001019, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.689/2.689, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 66.98 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2453, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1226/0.3679, allocations: 132.3 MB / 1.193 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03013/0.3981, allocations: 23.24 MB / 1.216 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003673/0.4018, allocations: 123.2 kB / 1.216 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003963/0.4057, allocations: 1.49 MB / 1.217 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.4163, allocations: 4.095 MB / 1.221 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005271/0.4216, allocations: 2.136 MB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008002/0.4296, allocations: 6.542 MB / 1.23 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003636/0.4333, allocations: 2.359 MB / 1.232 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005944/0.4393, allocations: 2.741 MB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.4424, allocations: 1.882 MB / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007292/0.4432, allocations: 252 kB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004579/0.4477, allocations: 1.934 MB / 1.239 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008569/0.4486, allocations: 0.5954 MB / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002583/0.4512, allocations: 1.466 MB / 1.241 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008845/0.4601, allocations: 4.308 MB / 1.245 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.4601, allocations: 0 / 1.245 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4601, allocations: 0 / 1.245 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.04e-05/0.4602, allocations: 0 / 1.245 GB, free: 4.512 MB / 0.9981 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.009366/0.4696, allocations: 3.188 MB / 1.248 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4697, allocations: 8.031 kB / 1.248 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004475/0.4701, allocations: 223.9 kB / 1.248 GB, free: 1 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006592/0.4767, allocations: 0.8479 MB / 1.249 GB, free: 152 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4334/0.9102, allocations: 2.189 MB / 1.251 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001055/0.9113, allocations: 298.4 kB / 1.251 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/0.9115, allocations: 158.9 kB / 1.251 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003917/0.9154, allocations: 1.94 MB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.9155, allocations: 4.969 kB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.9156, allocations: 60.91 kB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.9157, allocations: 45.19 kB / 1.253 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004732/0.9204, allocations: 1.823 MB / 1.255 GB, free: 182.4 MB / 0.9981 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.01072/0.9311, allocations: 9.078 MB / 1.264 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004272/0.9354, allocations: 1.204 MB / 1.265 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.9365, allocations: 457.6 kB / 1.266 GB, free: 177 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007309/0.9372, allocations: 1.721 MB / 1.267 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.9373, allocations: 46.81 kB / 1.267 GB, free: 175 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.434e-06/0.9373, allocations: 0 / 1.267 GB, free: 175 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.008585/0.9459, allocations: 2.342 MB / 1.27 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.9459, allocations: 83.92 kB / 1.27 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003971/0.9499, allocations: 2.542 MB / 1.272 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.442e-05/0.95, allocations: 45.8 kB / 1.272 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007216/0.9507, allocations: 1.043 MB / 1.273 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.9509, allocations: 272.3 kB / 1.274 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004167/0.9514, allocations: 252.4 kB / 1.274 GB, free: 172 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.9514, allocations: 353.7 kB / 1.274 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.9534, allocations: 0.5854 MB / 1.275 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/0.9556, allocations: 0.9668 MB / 1.276 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/0.959, allocations: 1.266 MB / 1.277 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.959, allocations: 2.719 kB / 1.277 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006733/0.9657, allocations: 2.049 MB / 1.279 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.9658, allocations: 7.844 kB / 1.279 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.9658, allocations: 11.17 kB / 1.279 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00179/0.9676, allocations: 493.5 kB / 1.279 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.9689, allocations: 290.9 kB / 1.28 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.9708, allocations: 1.514 MB / 1.281 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/0.9736, allocations: 396 kB / 1.282 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.9737, allocations: 58.52 kB / 1.282 GB, free: 168.1 MB / 0.9981 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.0007005/0.9744, allocations: 463.9 kB / 1.282 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003618/0.9748, allocations: 253.4 kB / 1.282 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003585/0.9784, allocations: 1.498 MB / 1.284 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.9784, allocations: 17.66 kB / 1.284 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.9784, allocations: 1.594 kB / 1.284 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.9784, allocations: 7.125 kB / 1.284 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006908/0.9853, allocations: 3.624 MB / 1.287 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.9854, allocations: 4.094 kB / 1.287 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/0.986, allocations: 121.7 kB / 1.287 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.9876, allocations: 493.8 kB / 1.288 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.9876, allocations: 27.64 kB / 1.288 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/0.9901, allocations: 1.579 MB / 1.29 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.9901, allocations: 10.72 kB / 1.29 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00679/0.9969, allocations: 1.936 MB / 1.291 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/0.9981, allocations: 497.1 kB / 1.292 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003466/0.9985, allocations: 24.42 kB / 1.292 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/1, allocations: 140.1 kB / 1.292 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/1, allocations: 67.41 kB / 1.292 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/1, allocations: 42.69 kB / 1.292 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0028/1.003, allocations: 1.787 MB / 1.294 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.003, allocations: 0 / 1.294 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001796/1.005, allocations: 0.6939 MB / 1.295 GB, free: 160.8 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.006949/1.012, allocations: 3 MB / 1.298 GB, free: 159 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004274/1.016, allocations: 1.398 MB / 1.299 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.016, allocations: 5.938 kB / 1.299 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002383/1.019, allocations: 0.6686 MB / 1.3 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005952/1.025, allocations: 1.346 MB / 1.301 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02988/1.055, allocations: 19.22 MB / 1.32 GB, free: 141.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/1.055, allocations: 1.486 MB / 1.321 GB, free: 139.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001884/1.057, allocations: 435.6 kB / 1.321 GB, free: 139.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008954/1.058, allocations: 0.9053 MB / 1.322 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/1.058, allocations: 0 / 1.322 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08397/1.142, allocations: 68.53 MB / 1.389 GB, free: 70.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.44, allocations: 7.938 kB / 1.389 GB, free: 70.51 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches