Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 114.5 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002579/0.002579, allocations: 216 kB / 22.25 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.099/3.099, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 65.02 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3069, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1691/0.476, allocations: 135 MB / 1.415 GB, free: 4.273 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.04004/0.5161, allocations: 23.35 MB / 1.438 GB, free: 12.87 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004322/0.5204, allocations: 170.6 kB / 1.438 GB, free: 12.7 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004741/0.5251, allocations: 1.549 MB / 1.44 GB, free: 11.14 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01319/0.5383, allocations: 4.39 MB / 1.444 GB, free: 6.73 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006637/0.545, allocations: 2.26 MB / 1.446 GB, free: 4.488 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01157/0.5565, allocations: 6.616 MB / 1.453 GB, free: 13.85 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004709/0.5612, allocations: 1.84 MB / 1.454 GB, free: 11.96 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00766/0.5689, allocations: 2.889 MB / 1.457 GB, free: 9.062 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004361/0.5733, allocations: 1.976 MB / 1.459 GB, free: 7.078 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.5743, allocations: 248 kB / 1.459 GB, free: 6.836 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005981/0.5803, allocations: 2.063 MB / 1.461 GB, free: 4.77 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.5816, allocations: 0.6185 MB / 1.462 GB, free: 4.148 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00346/0.5851, allocations: 1.462 MB / 1.464 GB, free: 2.68 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.009856/0.5949, allocations: 4.457 MB / 1.468 GB, free: 14.21 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.595, allocations: 0 / 1.468 GB, free: 14.21 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.282e-06/0.595, allocations: 0 / 1.468 GB, free: 14.21 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001218/0.5951, allocations: 0 / 1.468 GB, free: 14.21 MB / 1.17 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.007579/0.6027, allocations: 3.199 MB / 1.471 GB, free: 10.94 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.6027, allocations: 8.031 kB / 1.471 GB, free: 10.93 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004189/0.6031, allocations: 224 kB / 1.471 GB, free: 10.7 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004841/0.608, allocations: 0.8572 MB / 1.472 GB, free: 9.84 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005733/0.6137, allocations: 2.253 MB / 1.474 GB, free: 7.5 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.6139, allocations: 127 kB / 1.474 GB, free: 7.375 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004185/0.6143, allocations: 160 kB / 1.475 GB, free: 7.219 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005196/0.6195, allocations: 1.923 MB / 1.476 GB, free: 5.23 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/0.6195, allocations: 3.938 kB / 1.476 GB, free: 5.227 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.6197, allocations: 72 kB / 1.476 GB, free: 5.156 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.6198, allocations: 36 kB / 1.476 GB, free: 5.121 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005214/0.625, allocations: 1.807 MB / 1.478 GB, free: 3.312 MB / 1.17 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.01629/0.6413, allocations: 8.862 MB / 1.487 GB, free: 9.867 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004653/0.6459, allocations: 1.142 MB / 1.488 GB, free: 8.707 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.6472, allocations: 438.9 kB / 1.488 GB, free: 8.273 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005656/0.6477, allocations: 172.4 kB / 1.489 GB, free: 8.105 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.921e-05/0.6478, allocations: 38.56 kB / 1.489 GB, free: 8.059 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 3.026e-06/0.6478, allocations: 0 / 1.489 GB, free: 8.059 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.009307/0.6571, allocations: 2.187 MB / 1.491 GB, free: 5.855 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.6572, allocations: 92.86 kB / 1.491 GB, free: 5.746 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005295/0.6625, allocations: 2.528 MB / 1.493 GB, free: 3.199 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002428/0.6627, allocations: 49.7 kB / 1.493 GB, free: 3.145 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.6639, allocations: 1.055 MB / 1.494 GB, free: 2.082 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/0.6643, allocations: 289.5 kB / 1.495 GB, free: 1.797 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005877/0.6649, allocations: 254.8 kB / 1.495 GB, free: 1.543 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.6651, allocations: 341.9 kB / 1.495 GB, free: 1.203 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.6669, allocations: 0.5764 MB / 1.496 GB, free: 0.625 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/0.6693, allocations: 0.9543 MB / 1.497 GB, free: 15.52 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003288/0.6725, allocations: 1.26 MB / 1.498 GB, free: 14.15 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.6725, allocations: 0 / 1.498 GB, free: 14.15 MB / 1.201 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007438/0.68, allocations: 2.029 MB / 1.5 GB, free: 12.11 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.68, allocations: 8 kB / 1.5 GB, free: 12.1 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.68, allocations: 11.98 kB / 1.5 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.6821, allocations: 496.3 kB / 1.5 GB, free: 11.6 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.6834, allocations: 279.5 kB / 1.501 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.6859, allocations: 1.518 MB / 1.502 GB, free: 9.754 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/0.6893, allocations: 370.5 kB / 1.503 GB, free: 9.391 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/0.6895, allocations: 59.97 kB / 1.503 GB, free: 9.332 MB / 1.201 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.001252/0.6907, allocations: 461.5 kB / 1.503 GB, free: 8.871 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007896/0.6915, allocations: 262.3 kB / 1.503 GB, free: 8.613 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004243/0.6958, allocations: 1.509 MB / 1.505 GB, free: 7.094 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.6958, allocations: 8 kB / 1.505 GB, free: 7.086 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.6958, allocations: 96 / 1.505 GB, free: 7.086 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.6958, allocations: 11.92 kB / 1.505 GB, free: 7.074 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009125/0.7049, allocations: 3.594 MB / 1.508 GB, free: 3.375 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.7049, allocations: 4 kB / 1.508 GB, free: 3.371 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/0.7056, allocations: 132.1 kB / 1.508 GB, free: 3.242 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/0.7075, allocations: 490.5 kB / 1.509 GB, free: 2.758 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-05/0.7076, allocations: 23.98 kB / 1.509 GB, free: 2.734 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.7105, allocations: 1.595 MB / 1.51 GB, free: 1.09 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.7105, allocations: 7.938 kB / 1.51 GB, free: 1.082 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00675/0.7173, allocations: 1.942 MB / 1.512 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/0.7187, allocations: 431.9 kB / 1.513 GB, free: 14.65 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006701/0.7194, allocations: 15.94 kB / 1.513 GB, free: 14.64 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/0.7215, allocations: 135.8 kB / 1.513 GB, free: 14.5 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.7216, allocations: 67.77 kB / 1.513 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.7218, allocations: 47.91 kB / 1.513 GB, free: 14.39 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003986/0.7257, allocations: 1.773 MB / 1.515 GB, free: 12.61 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.7257, allocations: 0 / 1.515 GB, free: 12.61 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002836/0.7286, allocations: 0.7057 MB / 1.515 GB, free: 11.91 MB / 1.217 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.008137/0.7367, allocations: 2.994 MB / 1.518 GB, free: 8.836 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.004539/0.7413, allocations: 1.322 MB / 1.52 GB, free: 7.516 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.7413, allocations: 7.938 kB / 1.52 GB, free: 7.508 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002538/0.7438, allocations: 0.6468 MB / 1.52 GB, free: 6.863 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006749/0.7505, allocations: 1.331 MB / 1.522 GB, free: 5.551 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04039/0.7909, allocations: 16.75 MB / 1.538 GB, free: 4.324 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.7924, allocations: 1.49 MB / 1.539 GB, free: 2.805 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001887/0.7942, allocations: 432.2 kB / 1.54 GB, free: 2.383 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/0.7957, allocations: 0.9015 MB / 1.541 GB, free: 1.48 MB / 1.232 GB Notification: Performance of SimCode: time 1.092e-06/0.7957, allocations: 4 kB / 1.541 GB, free: 1.477 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7647/1.56, allocations: 67.24 MB / 1.606 GB, free: 307.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.58/20.14, allocations: 6.234 kB / 1.606 GB, free: 307.4 MB / 1.295 GB " [Timeout remaining time 279] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 27.209861034993082]