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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.925/2.925, allocations: 476.7 MB / 0.7611 GB, free: 15.68 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 59.91 kB / 1.104 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9431/0.9452, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1541/1.099, allocations: 133.3 MB / 1.399 GB, free: 7.047 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03885/1.138, allocations: 23.26 MB / 1.422 GB, free: 4.031 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006756/1.145, allocations: 127.7 kB / 1.422 GB, free: 3.98 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004903/1.15, allocations: 1.55 MB / 1.423 GB, free: 2.668 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0133/1.163, allocations: 4.324 MB / 1.427 GB, free: 15.23 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006404/1.17, allocations: 2.178 MB / 1.43 GB, free: 13.53 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01163/1.181, allocations: 6.536 MB / 1.436 GB, free: 9.637 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004838/1.186, allocations: 1.906 MB / 1.438 GB, free: 8.18 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008562/1.195, allocations: 2.811 MB / 1.441 GB, free: 5.367 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00435/1.199, allocations: 1.969 MB / 1.442 GB, free: 3.391 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00101/1.2, allocations: 248 kB / 1.443 GB, free: 3.148 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005793/1.206, allocations: 1.992 MB / 1.445 GB, free: 1.152 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00124/1.207, allocations: 0.6146 MB / 1.445 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003352/1.21, allocations: 1.458 MB / 1.447 GB, free: 15.07 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.009794/1.22, allocations: 4.379 MB / 1.451 GB, free: 10.68 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/1.22, allocations: 0 / 1.451 GB, free: 10.68 MB / 1.139 GB Notification: Performance of FrontEnd: time 4.419e-06/1.22, allocations: 7.984 kB / 1.451 GB, free: 10.67 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001053/1.22, allocations: 0 / 1.451 GB, free: 10.67 MB / 1.139 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.007208/1.227, allocations: 3.27 MB / 1.454 GB, free: 7.309 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1.227, allocations: 12.03 kB / 1.454 GB, free: 7.297 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000304/1.228, allocations: 228 kB / 1.454 GB, free: 7.062 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004685/1.232, allocations: 0.8572 MB / 1.455 GB, free: 6.203 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005501/1.238, allocations: 2.329 MB / 1.458 GB, free: 3.801 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/1.238, allocations: 127 kB / 1.458 GB, free: 3.676 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003331/1.238, allocations: 160 kB / 1.458 GB, free: 3.52 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004551/1.243, allocations: 1.923 MB / 1.46 GB, free: 1.531 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/1.243, allocations: 7.875 kB / 1.46 GB, free: 1.523 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/1.243, allocations: 68 kB / 1.46 GB, free: 1.457 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/1.243, allocations: 36 kB / 1.46 GB, free: 1.422 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004994/1.248, allocations: 1.807 MB / 1.462 GB, free: 15.61 MB / 1.154 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.01548/1.264, allocations: 9.014 MB / 1.47 GB, free: 6 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004398/1.268, allocations: 1.157 MB / 1.471 GB, free: 4.828 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/1.269, allocations: 433.4 kB / 1.472 GB, free: 4.398 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/1.271, allocations: 1.719 MB / 1.474 GB, free: 2.293 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/1.271, allocations: 46.5 kB / 1.474 GB, free: 2.238 MB / 1.154 GB Notification: Performance of pre-optimization done (n=76): time 2.405e-06/1.271, allocations: 0 / 1.474 GB, free: 2.238 MB / 1.154 GB Notification: Performance of matching and sorting (n=76): time 0.008915/1.28, allocations: 2.347 MB / 1.476 GB, free: 15.84 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/1.28, allocations: 93.05 kB / 1.476 GB, free: 15.73 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004655/1.284, allocations: 2.516 MB / 1.478 GB, free: 13.2 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001988/1.285, allocations: 53.69 kB / 1.478 GB, free: 13.14 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.286, allocations: 1.054 MB / 1.48 GB, free: 12.07 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000361/1.286, allocations: 277.6 kB / 1.48 GB, free: 11.8 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004635/1.286, allocations: 258.7 kB / 1.48 GB, free: 11.54 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001796/1.287, allocations: 353.9 kB / 1.48 GB, free: 11.19 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/1.288, allocations: 0.5686 MB / 1.481 GB, free: 10.62 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/1.291, allocations: 0.9543 MB / 1.482 GB, free: 9.512 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/1.294, allocations: 1.244 MB / 1.483 GB, free: 8.16 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/1.294, allocations: 4 kB / 1.483 GB, free: 8.156 MB / 1.17 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006999/1.301, allocations: 2.029 MB / 1.485 GB, free: 6.109 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/1.301, allocations: 8 kB / 1.485 GB, free: 6.102 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/1.301, allocations: 8 kB / 1.485 GB, free: 6.094 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/1.303, allocations: 497.7 kB / 1.486 GB, free: 5.602 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.304, allocations: 271.6 kB / 1.486 GB, free: 5.336 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/1.307, allocations: 1.528 MB / 1.487 GB, free: 3.758 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/1.31, allocations: 366.5 kB / 1.488 GB, free: 3.398 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000356/1.31, allocations: 67.95 kB / 1.488 GB, free: 3.332 MB / 1.17 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.0015/1.312, allocations: 461.5 kB / 1.488 GB, free: 2.871 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000953/1.313, allocations: 262.3 kB / 1.488 GB, free: 2.613 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/1.317, allocations: 1.486 MB / 1.49 GB, free: 1.109 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/1.317, allocations: 8 kB / 1.49 GB, free: 1.102 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.317, allocations: 3.984 kB / 1.49 GB, free: 1.098 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.317, allocations: 3.984 kB / 1.49 GB, free: 1.094 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00985/1.327, allocations: 3.616 MB / 1.493 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/1.327, allocations: 4 kB / 1.493 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/1.328, allocations: 136.1 kB / 1.494 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/1.33, allocations: 491 kB / 1.494 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.33, allocations: 31.92 kB / 1.494 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002798/1.333, allocations: 1.585 MB / 1.496 GB, free: 11.08 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.333, allocations: 4 kB / 1.496 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006497/1.339, allocations: 1.948 MB / 1.497 GB, free: 9.062 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001792/1.341, allocations: 0.4911 MB / 1.498 GB, free: 8.551 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009417/1.342, allocations: 27.92 kB / 1.498 GB, free: 8.523 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/1.344, allocations: 131.8 kB / 1.498 GB, free: 8.395 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/1.344, allocations: 63.92 kB / 1.498 GB, free: 8.332 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.344, allocations: 35.97 kB / 1.498 GB, free: 8.297 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003868/1.348, allocations: 1.777 MB / 1.5 GB, free: 6.516 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.8e-07/1.348, allocations: 4 kB / 1.5 GB, free: 6.512 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002469/1.35, allocations: 0.6979 MB / 1.501 GB, free: 5.812 MB / 1.186 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.007916/1.358, allocations: 3.007 MB / 1.504 GB, free: 2.746 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004298/1.363, allocations: 1.299 MB / 1.505 GB, free: 1.449 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/1.363, allocations: 0 / 1.505 GB, free: 1.449 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002421/1.365, allocations: 0.6479 MB / 1.505 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006816/1.372, allocations: 1.329 MB / 1.507 GB, free: 15.5 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04116/1.413, allocations: 16.73 MB / 1.523 GB, free: 14.29 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/1.415, allocations: 1.482 MB / 1.525 GB, free: 12.78 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002212/1.417, allocations: 447.7 kB / 1.525 GB, free: 12.34 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/1.419, allocations: 0.8976 MB / 1.526 GB, free: 11.44 MB / 1.217 GB Notification: Performance of SimCode: time 1.252e-06/1.419, allocations: 0 / 1.526 GB, free: 11.44 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1354/1.554, allocations: 66.46 MB / 1.591 GB, free: 9.812 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.01/19.56, allocations: 11.16 kB / 1.591 GB, free: 9.805 MB / 1.279 GB " [Timeout remaining time 280] (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_2/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: 26.04662572592497]