Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.001359/0.001359, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001939/0.001939, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.459/1.459, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.271/3.271, allocations: 0.49 GB / 0.7951 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.CarnotVerifyCOP,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",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.002033/0.002033, allocations: 65.94 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3402, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1578/0.498, allocations: 135.2 MB / 1.458 GB, free: 10.31 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03687/0.5349, allocations: 23.36 MB / 1.481 GB, free: 2.906 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003993/0.5389, allocations: 174.5 kB / 1.481 GB, free: 2.734 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.004483/0.5434, allocations: 1.545 MB / 1.482 GB, free: 1.18 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01294/0.5563, allocations: 4.384 MB / 1.487 GB, free: 12.77 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00691/0.5632, allocations: 2.25 MB / 1.489 GB, free: 10.54 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01268/0.5759, allocations: 6.583 MB / 1.495 GB, free: 3.945 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005034/0.5809, allocations: 1.852 MB / 1.497 GB, free: 2.031 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/0.591, allocations: 3.138 MB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004616/0.5956, allocations: 1.941 MB / 1.502 GB, free: 12.94 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.5969, allocations: 244 kB / 1.502 GB, free: 12.7 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005904/0.6028, allocations: 2.055 MB / 1.504 GB, free: 10.64 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.6041, allocations: 0.6184 MB / 1.505 GB, free: 10.02 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003396/0.6075, allocations: 1.462 MB / 1.506 GB, free: 8.555 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.6185, allocations: 4.461 MB / 1.511 GB, free: 4.078 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.6185, allocations: 0 / 1.511 GB, free: 4.078 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6185, allocations: 4 kB / 1.511 GB, free: 4.074 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001609/0.6186, allocations: 0 / 1.511 GB, free: 4.074 MB / 1.201 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.008782/0.6274, allocations: 3.187 MB / 1.514 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.6275, allocations: 12.03 kB / 1.514 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005155/0.628, allocations: 220 kB / 1.514 GB, free: 0.5781 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00492/0.6329, allocations: 0.8568 MB / 1.515 GB, free: 15.72 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006526/0.6394, allocations: 2.277 MB / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.6396, allocations: 127 kB / 1.517 GB, free: 13.23 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004625/0.6401, allocations: 164 kB / 1.517 GB, free: 13.07 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00541/0.6455, allocations: 1.923 MB / 1.519 GB, free: 11.08 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.3e-05/0.6455, allocations: 4 kB / 1.519 GB, free: 11.08 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.6458, allocations: 60 kB / 1.519 GB, free: 11.02 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.6458, allocations: 43.94 kB / 1.519 GB, free: 10.98 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005457/0.6513, allocations: 1.792 MB / 1.521 GB, free: 9.184 MB / 1.217 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.0162/0.6675, allocations: 8.846 MB / 1.53 GB, free: 15.74 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004332/0.6718, allocations: 1.149 MB / 1.531 GB, free: 14.58 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.6729, allocations: 425.4 kB / 1.531 GB, free: 14.16 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004946/0.6734, allocations: 160.7 kB / 1.531 GB, free: 14 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.6735, allocations: 46.5 kB / 1.531 GB, free: 13.95 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 2.555e-06/0.6735, allocations: 0 / 1.531 GB, free: 13.95 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.008859/0.6823, allocations: 2.186 MB / 1.534 GB, free: 11.74 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.6824, allocations: 89.05 kB / 1.534 GB, free: 11.64 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004745/0.6872, allocations: 2.517 MB / 1.536 GB, free: 9.102 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.6873, allocations: 45.7 kB / 1.536 GB, free: 9.051 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.6884, allocations: 1.043 MB / 1.537 GB, free: 8 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/0.6888, allocations: 281.6 kB / 1.538 GB, free: 7.723 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004976/0.6892, allocations: 258.7 kB / 1.538 GB, free: 7.465 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.6894, allocations: 345.9 kB / 1.538 GB, free: 7.121 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.6912, allocations: 0.5764 MB / 1.539 GB, free: 6.543 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/0.6933, allocations: 0.9504 MB / 1.54 GB, free: 5.441 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/0.6964, allocations: 1.256 MB / 1.541 GB, free: 4.082 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.6964, allocations: 0 / 1.541 GB, free: 4.082 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007003/0.7034, allocations: 2.034 MB / 1.543 GB, free: 2.031 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.7034, allocations: 8 kB / 1.543 GB, free: 2.023 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.7035, allocations: 8 kB / 1.543 GB, free: 2.016 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.7054, allocations: 417.2 kB / 1.543 GB, free: 1.602 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.7066, allocations: 283.6 kB / 1.543 GB, free: 1.324 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.7093, allocations: 1.499 MB / 1.545 GB, free: 15.77 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003101/0.7124, allocations: 370.5 kB / 1.545 GB, free: 15.41 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/0.7126, allocations: 55.97 kB / 1.545 GB, free: 15.36 MB / 1.248 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001347/0.7139, allocations: 461.5 kB / 1.546 GB, free: 14.89 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009366/0.7149, allocations: 270.2 kB / 1.546 GB, free: 14.63 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004354/0.7192, allocations: 1.498 MB / 1.548 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-05/0.7192, allocations: 16 kB / 1.548 GB, free: 13.1 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.7193, allocations: 0 / 1.548 GB, free: 13.1 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.7193, allocations: 3.984 kB / 1.548 GB, free: 13.09 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00936/0.7286, allocations: 3.59 MB / 1.551 GB, free: 9.402 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.7286, allocations: 11.97 kB / 1.551 GB, free: 9.391 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/0.7293, allocations: 128.2 kB / 1.551 GB, free: 9.266 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00165/0.7309, allocations: 409.3 kB / 1.552 GB, free: 8.859 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.403e-05/0.731, allocations: 27.97 kB / 1.552 GB, free: 8.832 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002894/0.7339, allocations: 1.574 MB / 1.553 GB, free: 7.211 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.7339, allocations: 8.062 kB / 1.553 GB, free: 7.203 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006649/0.7406, allocations: 1.958 MB / 1.555 GB, free: 5.188 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.7419, allocations: 423.8 kB / 1.555 GB, free: 4.77 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005777/0.7424, allocations: 20 kB / 1.555 GB, free: 4.75 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/0.7443, allocations: 135.8 kB / 1.556 GB, free: 4.617 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.7444, allocations: 63.77 kB / 1.556 GB, free: 4.555 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.7446, allocations: 47.91 kB / 1.556 GB, free: 4.508 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003649/0.7482, allocations: 1.758 MB / 1.557 GB, free: 2.746 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7482, allocations: 0 / 1.557 GB, free: 2.746 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002404/0.7506, allocations: 0.6979 MB / 1.558 GB, free: 2.047 MB / 1.248 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007835/0.7585, allocations: 2.986 MB / 1.561 GB, free: 14.99 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004476/0.7629, allocations: 1.315 MB / 1.562 GB, free: 13.68 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.7629, allocations: 0 / 1.562 GB, free: 13.68 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00243/0.7654, allocations: 0.6446 MB / 1.563 GB, free: 13.03 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00709/0.7725, allocations: 1.33 MB / 1.564 GB, free: 11.72 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04241/0.8149, allocations: 16.8 MB / 1.581 GB, free: 10.44 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001969/0.8168, allocations: 1.49 MB / 1.582 GB, free: 8.914 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002246/0.8191, allocations: 432.5 kB / 1.582 GB, free: 8.488 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/0.8205, allocations: 0.9093 MB / 1.583 GB, free: 7.578 MB / 1.279 GB Notification: Performance of SimCode: time 9.81e-07/0.8205, allocations: 0 / 1.583 GB, free: 7.578 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7615/1.582, allocations: 66.97 MB / 1.649 GB, free: 258.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.85/20.43, allocations: 9.891 kB / 1.649 GB, free: 258.8 MB / 1.295 GB " [Timeout remaining time 279] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.220992306945845]