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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 106.8 kB / 16.4 MB, free: 6.453 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.001477/0.001477, allocations: 191.7 kB / 19.36 MB, free: 3.727 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.481/1.481, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.257/3.257, allocations: 489 MB / 0.7678 GB, free: 29.14 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.88 kB / 1.101 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8866/0.8887, allocations: 163.8 MB / 1.261 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1695/1.058, allocations: 132.5 MB / 1.39 GB, free: 2.141 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04254/1.101, allocations: 23.23 MB / 1.413 GB, free: 10.86 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006261/1.107, allocations: 123.2 kB / 1.413 GB, free: 10.73 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005579/1.113, allocations: 1.49 MB / 1.415 GB, free: 9.234 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0133/1.126, allocations: 4.088 MB / 1.419 GB, free: 5.129 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006506/1.133, allocations: 2.168 MB / 1.421 GB, free: 2.98 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01163/1.144, allocations: 6.52 MB / 1.427 GB, free: 12.44 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005368/1.15, allocations: 2.363 MB / 1.429 GB, free: 10.02 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0092/1.159, allocations: 2.991 MB / 1.432 GB, free: 7.027 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004477/1.163, allocations: 1.86 MB / 1.434 GB, free: 5.16 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0011/1.165, allocations: 248 kB / 1.434 GB, free: 4.918 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005544/1.17, allocations: 1.93 MB / 1.436 GB, free: 2.984 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001291/1.171, allocations: 0.5953 MB / 1.437 GB, free: 2.387 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003518/1.175, allocations: 1.462 MB / 1.438 GB, free: 0.918 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.009978/1.185, allocations: 4.385 MB / 1.443 GB, free: 12.52 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/1.185, allocations: 3.984 kB / 1.443 GB, free: 12.52 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.405e-06/1.185, allocations: 0 / 1.443 GB, free: 12.52 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001476/1.185, allocations: 0 / 1.443 GB, free: 12.52 MB / 1.154 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.008388/1.194, allocations: 3.274 MB / 1.446 GB, free: 9.152 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 7.802e-05/1.194, allocations: 12.03 kB / 1.446 GB, free: 9.141 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003297/1.194, allocations: 224 kB / 1.446 GB, free: 8.91 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/1.199, allocations: 0.8572 MB / 1.447 GB, free: 8.051 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005638/1.205, allocations: 2.337 MB / 1.449 GB, free: 5.641 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/1.205, allocations: 123 kB / 1.449 GB, free: 5.52 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003503/1.205, allocations: 160 kB / 1.449 GB, free: 5.363 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004911/1.21, allocations: 1.926 MB / 1.451 GB, free: 3.371 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/1.21, allocations: 4 kB / 1.451 GB, free: 3.367 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/1.21, allocations: 64 kB / 1.451 GB, free: 3.305 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/1.21, allocations: 40 kB / 1.451 GB, free: 3.266 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005137/1.215, allocations: 1.799 MB / 1.453 GB, free: 1.465 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.01638/1.232, allocations: 9.01 MB / 1.462 GB, free: 7.852 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004939/1.237, allocations: 1.195 MB / 1.463 GB, free: 6.641 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/1.238, allocations: 465.6 kB / 1.464 GB, free: 6.18 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/1.24, allocations: 1.726 MB / 1.465 GB, free: 4.066 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/1.24, allocations: 46.5 kB / 1.465 GB, free: 4.012 MB / 1.17 GB Notification: Performance of pre-optimization done (n=76): time 3.246e-06/1.24, allocations: 0 / 1.465 GB, free: 4.012 MB / 1.17 GB Notification: Performance of matching and sorting (n=76): time 0.009957/1.25, allocations: 2.351 MB / 1.468 GB, free: 1.609 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/1.25, allocations: 85.11 kB / 1.468 GB, free: 1.508 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005059/1.255, allocations: 2.524 MB / 1.47 GB, free: 14.96 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002186/1.255, allocations: 45.7 kB / 1.47 GB, free: 14.91 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001114/1.256, allocations: 1.055 MB / 1.471 GB, free: 13.85 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/1.257, allocations: 289.5 kB / 1.472 GB, free: 13.57 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000499/1.257, allocations: 258.7 kB / 1.472 GB, free: 13.3 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002162/1.258, allocations: 341.9 kB / 1.472 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/1.259, allocations: 0.5764 MB / 1.473 GB, free: 12.39 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/1.262, allocations: 0.962 MB / 1.474 GB, free: 11.27 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003288/1.265, allocations: 1.248 MB / 1.475 GB, free: 9.922 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.265, allocations: 0 / 1.475 GB, free: 9.922 MB / 1.186 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007127/1.272, allocations: 2.037 MB / 1.477 GB, free: 7.867 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/1.272, allocations: 8 kB / 1.477 GB, free: 7.859 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/1.272, allocations: 8.625 kB / 1.477 GB, free: 7.852 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/1.274, allocations: 489.1 kB / 1.477 GB, free: 7.367 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.276, allocations: 283.6 kB / 1.478 GB, free: 7.09 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/1.278, allocations: 1.514 MB / 1.479 GB, free: 5.523 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/1.281, allocations: 374.5 kB / 1.479 GB, free: 5.156 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/1.282, allocations: 55.97 kB / 1.479 GB, free: 5.102 MB / 1.186 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.00116/1.283, allocations: 466.5 kB / 1.48 GB, free: 4.637 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008009/1.284, allocations: 258.4 kB / 1.48 GB, free: 4.383 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00419/1.288, allocations: 1.505 MB / 1.482 GB, free: 2.859 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/1.288, allocations: 12 kB / 1.482 GB, free: 2.848 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.288, allocations: 4 kB / 1.482 GB, free: 2.844 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/1.288, allocations: 3.984 kB / 1.482 GB, free: 2.84 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009366/1.297, allocations: 3.624 MB / 1.485 GB, free: 15.11 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/1.297, allocations: 8.031 kB / 1.485 GB, free: 15.1 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/1.298, allocations: 135.7 kB / 1.485 GB, free: 14.96 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/1.3, allocations: 493.1 kB / 1.486 GB, free: 14.48 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.496e-05/1.3, allocations: 23.98 kB / 1.486 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003129/1.303, allocations: 1.583 MB / 1.487 GB, free: 12.82 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.303, allocations: 7.969 kB / 1.487 GB, free: 12.81 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007096/1.31, allocations: 1.952 MB / 1.489 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/1.312, allocations: 0.4911 MB / 1.49 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004699/1.312, allocations: 23.94 kB / 1.49 GB, free: 10.26 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.314, allocations: 135.8 kB / 1.49 GB, free: 10.13 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.314, allocations: 59.78 kB / 1.49 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/1.314, allocations: 43.97 kB / 1.49 GB, free: 10.03 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003565/1.318, allocations: 1.773 MB / 1.492 GB, free: 8.25 MB / 1.201 GB Notification: Performance of sort global known variables: time 5.21e-07/1.318, allocations: 0 / 1.492 GB, free: 8.25 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002665/1.321, allocations: 0.6941 MB / 1.492 GB, free: 7.555 MB / 1.201 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.008272/1.329, allocations: 3.031 MB / 1.495 GB, free: 4.465 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004528/1.334, allocations: 1.335 MB / 1.497 GB, free: 3.137 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.334, allocations: 0 / 1.497 GB, free: 3.137 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002543/1.336, allocations: 0.6742 MB / 1.497 GB, free: 2.461 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006505/1.343, allocations: 1.332 MB / 1.499 GB, free: 1.148 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03905/1.382, allocations: 16.74 MB / 1.515 GB, free: 15.93 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/1.383, allocations: 1.493 MB / 1.516 GB, free: 14.4 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002097/1.385, allocations: 435.5 kB / 1.517 GB, free: 13.98 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/1.387, allocations: 0.9015 MB / 1.518 GB, free: 13.07 MB / 1.232 GB Notification: Performance of SimCode: time 3.036e-06/1.387, allocations: 0 / 1.518 GB, free: 13.07 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1481/1.535, allocations: 66.22 MB / 1.582 GB, free: 11.67 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.76/19.3, allocations: 6.812 kB / 1.582 GB, free: 11.66 MB / 1.295 GB " [Timeout remaining time 281] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.266723804874346]