Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_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.004595/0.004595, allocations: 103 kB / 15.73 MB, free: 6.051 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.001092/0.001093, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.342/2.342, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 66.47 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2298, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1303/0.3601, allocations: 132.3 MB / 1.217 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03045/0.3906, allocations: 23.23 MB / 1.239 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003933/0.3946, allocations: 123.2 kB / 1.239 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003774/0.3984, allocations: 1.498 MB / 1.241 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009987/0.4084, allocations: 4.104 MB / 1.245 GB, free: 256 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005129/0.4136, allocations: 2.156 MB / 1.247 GB, free: 14.11 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008014/0.4216, allocations: 6.54 MB / 1.253 GB, free: 7.559 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00353/0.4251, allocations: 2.354 MB / 1.256 GB, free: 5.145 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006213/0.4314, allocations: 2.761 MB / 1.258 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003309/0.4347, allocations: 1.891 MB / 1.26 GB, free: 492 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007261/0.4354, allocations: 248 kB / 1.26 GB, free: 244 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5331/0.9685, allocations: 1.936 MB / 1.262 GB, free: 52.37 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006771/0.9692, allocations: 0.597 MB / 1.263 GB, free: 52.37 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.971, allocations: 1.457 MB / 1.264 GB, free: 52.37 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005568/0.9766, allocations: 4.359 MB / 1.269 GB, free: 52.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.9766, allocations: 0.8438 kB / 1.269 GB, free: 52.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9766, allocations: 0 / 1.269 GB, free: 52.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.644e-05/0.9767, allocations: 3.172 kB / 1.269 GB, free: 52.25 MB / 1.014 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.005515/0.9822, allocations: 3.182 MB / 1.272 GB, free: 50.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.9822, allocations: 9.859 kB / 1.272 GB, free: 50.81 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002522/0.9825, allocations: 221.9 kB / 1.272 GB, free: 50.76 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004658/0.9872, allocations: 0.8447 MB / 1.273 GB, free: 50.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004411/0.9916, allocations: 2.309 MB / 1.275 GB, free: 50.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.9917, allocations: 126.9 kB / 1.275 GB, free: 50.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/0.992, allocations: 164.2 kB / 1.275 GB, free: 50.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003969/0.996, allocations: 1.918 MB / 1.277 GB, free: 49.81 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.996, allocations: 5.281 kB / 1.277 GB, free: 49.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.9962, allocations: 65.2 kB / 1.277 GB, free: 49.81 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.9962, allocations: 37.5 kB / 1.277 GB, free: 49.81 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004828/1.001, allocations: 1.802 MB / 1.279 GB, free: 49.77 MB / 1.014 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.0118/1.013, allocations: 8.984 MB / 1.288 GB, free: 45.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004512/1.017, allocations: 1.192 MB / 1.289 GB, free: 45.37 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/1.019, allocations: 470.9 kB / 1.289 GB, free: 45.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008258/1.019, allocations: 1.72 MB / 1.291 GB, free: 43.38 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/1.019, allocations: 45.31 kB / 1.291 GB, free: 43.33 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.174e-06/1.019, allocations: 0 / 1.291 GB, free: 43.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.008786/1.028, allocations: 2.338 MB / 1.293 GB, free: 42.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/1.028, allocations: 84.48 kB / 1.294 GB, free: 42.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003592/1.032, allocations: 2.529 MB / 1.296 GB, free: 42.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/1.032, allocations: 46.14 kB / 1.296 GB, free: 42.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006894/1.033, allocations: 1.047 MB / 1.297 GB, free: 42.26 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/1.033, allocations: 263.1 kB / 1.297 GB, free: 42.09 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003994/1.033, allocations: 259 kB / 1.298 GB, free: 42.06 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/1.033, allocations: 346.3 kB / 1.298 GB, free: 41.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/1.035, allocations: 0.5713 MB / 1.298 GB, free: 41.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/1.037, allocations: 0.9479 MB / 1.299 GB, free: 41.34 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/1.04, allocations: 1.263 MB / 1.301 GB, free: 41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.04, allocations: 2.281 kB / 1.301 GB, free: 41 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006359/1.046, allocations: 2.028 MB / 1.303 GB, free: 40.76 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.046, allocations: 10.22 kB / 1.303 GB, free: 40.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.046, allocations: 12.25 kB / 1.303 GB, free: 40.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/1.048, allocations: 498.8 kB / 1.303 GB, free: 40.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.049, allocations: 277 kB / 1.303 GB, free: 40.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/1.051, allocations: 1.52 MB / 1.305 GB, free: 39.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/1.054, allocations: 366.2 kB / 1.305 GB, free: 39.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/1.054, allocations: 56.48 kB / 1.305 GB, free: 39.55 MB / 1.014 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.0007962/1.055, allocations: 467.3 kB / 1.306 GB, free: 39.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/1.055, allocations: 251.8 kB / 1.306 GB, free: 39.29 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/1.059, allocations: 1.493 MB / 1.307 GB, free: 39.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/1.059, allocations: 16.19 kB / 1.307 GB, free: 39.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.059, allocations: 1.438 kB / 1.307 GB, free: 39.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.059, allocations: 3.609 kB / 1.307 GB, free: 39.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007197/1.066, allocations: 3.623 MB / 1.311 GB, free: 38.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/1.066, allocations: 4.219 kB / 1.311 GB, free: 38.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/1.067, allocations: 128.5 kB / 1.311 GB, free: 38.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/1.068, allocations: 484.7 kB / 1.312 GB, free: 38.49 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/1.068, allocations: 29.84 kB / 1.312 GB, free: 38.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/1.071, allocations: 1.586 MB / 1.313 GB, free: 37.43 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.071, allocations: 8.938 kB / 1.313 GB, free: 37.43 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005932/1.077, allocations: 1.943 MB / 1.315 GB, free: 36.92 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009743/1.078, allocations: 484.7 kB / 1.315 GB, free: 36.69 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/1.078, allocations: 19.28 kB / 1.316 GB, free: 36.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/1.08, allocations: 135.2 kB / 1.316 GB, free: 36.68 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/1.08, allocations: 65.45 kB / 1.316 GB, free: 36.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/1.08, allocations: 52.14 kB / 1.316 GB, free: 36.67 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002545/1.082, allocations: 1.774 MB / 1.317 GB, free: 36.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.082, allocations: 0 / 1.317 GB, free: 36.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001907/1.084, allocations: 0.6905 MB / 1.318 GB, free: 36.44 MB / 1.014 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.006993/1.091, allocations: 2.999 MB / 1.321 GB, free: 35.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003917/1.095, allocations: 1.347 MB / 1.322 GB, free: 35.27 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.095, allocations: 0 / 1.322 GB, free: 35.27 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002336/1.098, allocations: 0.6792 MB / 1.323 GB, free: 35.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006198/1.104, allocations: 1.331 MB / 1.324 GB, free: 35.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0302/1.134, allocations: 16.65 MB / 1.341 GB, free: 31.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008997/1.135, allocations: 1.487 MB / 1.342 GB, free: 30.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001985/1.137, allocations: 438.6 kB / 1.342 GB, free: 30.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/1.138, allocations: 0.902 MB / 1.343 GB, free: 29.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.142e-06/1.138, allocations: 0 / 1.343 GB, free: 29.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09516/1.233, allocations: 66.22 MB / 1.408 GB, free: 3.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/16.94, allocations: 15.77 kB / 1.408 GB, free: 3.145 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches