Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001661/0.001661, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.002047/0.002047, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.593/1.593, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.049/3.049, allocations: 476.7 MB / 0.7678 GB, free: 9.391 MB / 0.6075 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.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",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.002039/0.002039, allocations: 67.91 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09108/1.181, allocations: 71.32 MB / 1.349 GB, free: 8.223 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03143/1.212, allocations: 19.01 MB / 1.367 GB, free: 8.785 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00487/1.217, allocations: 93.84 kB / 1.367 GB, free: 8.734 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00399/1.221, allocations: 0.853 MB / 1.368 GB, free: 8 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01089/1.232, allocations: 3.017 MB / 1.371 GB, free: 5.633 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005843/1.238, allocations: 1.656 MB / 1.373 GB, free: 4.328 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008429/1.246, allocations: 4.038 MB / 1.377 GB, free: 1.887 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003258/1.25, allocations: 1.184 MB / 1.378 GB, free: 1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006228/1.256, allocations: 1.829 MB / 1.38 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003662/1.259, allocations: 1.242 MB / 1.381 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0008624/1.26, allocations: 175.5 kB / 1.381 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004647/1.265, allocations: 1.467 MB / 1.382 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001069/1.266, allocations: 404.2 kB / 1.383 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002968/1.269, allocations: 0.9126 MB / 1.384 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008574/1.278, allocations: 3.145 MB / 1.387 GB, free: 11.12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.278, allocations: 0 / 1.387 GB, free: 11.12 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.494e-06/1.278, allocations: 0 / 1.387 GB, free: 11.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000129/1.278, allocations: 0 / 1.387 GB, free: 11.12 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.007333/1.285, allocations: 2.095 MB / 1.389 GB, free: 9.496 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/1.285, allocations: 10.16 kB / 1.389 GB, free: 9.496 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.055e-05/1.285, allocations: 29.95 kB / 1.389 GB, free: 9.488 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004584/1.286, allocations: 154.6 kB / 1.389 GB, free: 9.363 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002848/1.289, allocations: 455.9 kB / 1.389 GB, free: 9.148 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004181/1.293, allocations: 1.559 MB / 1.391 GB, free: 7.883 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/1.293, allocations: 78.22 kB / 1.391 GB, free: 7.848 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/1.293, allocations: 110.5 kB / 1.391 GB, free: 7.809 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003578/1.297, allocations: 1.319 MB / 1.392 GB, free: 6.891 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/1.297, allocations: 1.688 kB / 1.392 GB, free: 6.891 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/1.297, allocations: 43 kB / 1.392 GB, free: 6.859 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/1.297, allocations: 26 kB / 1.392 GB, free: 6.859 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003383/1.3, allocations: 1.106 MB / 1.393 GB, free: 6.293 MB / 1.076 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.01342/1.314, allocations: 7.518 MB / 1.401 GB, free: 14.63 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/1.317, allocations: 0.7769 MB / 1.402 GB, free: 13.85 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/1.318, allocations: 262 kB / 1.402 GB, free: 13.59 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001839/1.32, allocations: 1.718 MB / 1.404 GB, free: 11.49 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/1.32, allocations: 46.92 kB / 1.404 GB, free: 11.43 MB / 1.092 GB Notification: Performance of pre-optimization done (n=48): time 2.975e-06/1.32, allocations: 0 / 1.404 GB, free: 11.43 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.006123/1.326, allocations: 1.343 MB / 1.405 GB, free: 10.06 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/1.326, allocations: 55.84 kB / 1.405 GB, free: 9.992 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003599/1.33, allocations: 1.546 MB / 1.406 GB, free: 8.438 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001529/1.33, allocations: 37.7 kB / 1.406 GB, free: 8.395 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008205/1.331, allocations: 0.6896 MB / 1.407 GB, free: 7.699 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/1.331, allocations: 174.5 kB / 1.407 GB, free: 7.527 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004/1.331, allocations: 174.5 kB / 1.407 GB, free: 7.352 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.332, allocations: 337.9 kB / 1.408 GB, free: 7.016 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/1.333, allocations: 365.7 kB / 1.408 GB, free: 6.656 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/1.334, allocations: 0.6661 MB / 1.409 GB, free: 5.871 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/1.336, allocations: 0.879 MB / 1.41 GB, free: 4.887 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-05/1.336, allocations: 8 kB / 1.41 GB, free: 4.879 MB / 1.092 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00385/1.34, allocations: 1.19 MB / 1.411 GB, free: 3.676 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/1.34, allocations: 8 kB / 1.411 GB, free: 3.668 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.449e-05/1.34, allocations: 12 kB / 1.411 GB, free: 3.656 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/1.342, allocations: 224.6 kB / 1.411 GB, free: 3.434 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009397/1.343, allocations: 187.7 kB / 1.411 GB, free: 3.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/1.344, allocations: 0.7317 MB / 1.412 GB, free: 2.492 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/1.346, allocations: 211.1 kB / 1.412 GB, free: 2.285 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/1.346, allocations: 47.97 kB / 1.412 GB, free: 2.238 MB / 1.092 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008299/1.347, allocations: 356 kB / 1.413 GB, free: 1.883 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005003/1.347, allocations: 155 kB / 1.413 GB, free: 1.73 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/1.351, allocations: 1.137 MB / 1.414 GB, free: 0.5781 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-05/1.351, allocations: 7.984 kB / 1.414 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.351, allocations: 0 / 1.414 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/1.351, allocations: 4 kB / 1.414 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007137/1.358, allocations: 2.51 MB / 1.416 GB, free: 13.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/1.358, allocations: 4 kB / 1.416 GB, free: 13.97 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/1.358, allocations: 92 kB / 1.416 GB, free: 13.88 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009367/1.359, allocations: 216.6 kB / 1.417 GB, free: 13.67 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.486e-05/1.359, allocations: 12 kB / 1.417 GB, free: 13.66 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/1.361, allocations: 0.7786 MB / 1.417 GB, free: 12.85 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.361, allocations: 0 / 1.417 GB, free: 12.85 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00427/1.365, allocations: 1.204 MB / 1.418 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/1.366, allocations: 363.7 kB / 1.419 GB, free: 11.23 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006361/1.367, allocations: 15.95 kB / 1.419 GB, free: 11.21 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/1.368, allocations: 79.84 kB / 1.419 GB, free: 11.14 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.368, allocations: 32.52 kB / 1.419 GB, free: 11.11 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.112e-05/1.368, allocations: 27.98 kB / 1.419 GB, free: 11.08 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002533/1.371, allocations: 1.086 MB / 1.42 GB, free: 9.996 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.11e-07/1.371, allocations: 0 / 1.42 GB, free: 9.996 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002021/1.373, allocations: 451.1 kB / 1.42 GB, free: 9.555 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005739/1.379, allocations: 2.112 MB / 1.423 GB, free: 7.395 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002664/1.381, allocations: 0.8213 MB / 1.423 GB, free: 6.574 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.381, allocations: 0 / 1.423 GB, free: 6.574 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/1.383, allocations: 419.5 kB / 1.424 GB, free: 6.164 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/1.387, allocations: 0.7382 MB / 1.424 GB, free: 5.438 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/1.413, allocations: 10.51 MB / 1.435 GB, free: 10.55 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/1.414, allocations: 1.168 MB / 1.436 GB, free: 9.352 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001368/1.415, allocations: 266.4 kB / 1.436 GB, free: 9.09 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/1.416, allocations: 0.55 MB / 1.437 GB, free: 8.539 MB / 1.123 GB Notification: Performance of SimCode: time 1.112e-06/1.416, allocations: 4 kB / 1.437 GB, free: 8.535 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/1.517, allocations: 43.87 MB / 1.48 GB, free: 13.22 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/16.89, allocations: 16.31 kB / 1.48 GB, free: 13.21 MB / 1.17 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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: 23.76775571500184]