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.001318/0.001318, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001515/0.001515, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.965 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 2.791/2.791, allocations: 476.7 MB / 0.7714 GB, free: 4.246 MB / 0.6231 GB " [Timeout remaining time 177] 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.00205/0.00205, allocations: 60.77 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3252, allocations: 170 MB / 1.284 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08648/0.4117, allocations: 72 MB / 1.354 GB, free: 3.438 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03031/0.442, allocations: 19.12 MB / 1.373 GB, free: 272 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00403/0.446, allocations: 91.19 kB / 1.373 GB, free: 180 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003268/0.4493, allocations: 0.8501 MB / 1.374 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009578/0.4589, allocations: 3.069 MB / 1.377 GB, free: 12.24 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005088/0.464, allocations: 1.705 MB / 1.379 GB, free: 10.54 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007134/0.4711, allocations: 4.099 MB / 1.383 GB, free: 6.43 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.4735, allocations: 1.161 MB / 1.384 GB, free: 5.227 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004711/0.4782, allocations: 1.845 MB / 1.386 GB, free: 3.375 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.4809, allocations: 1.237 MB / 1.387 GB, free: 2.133 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003296/0.4812, allocations: 176 kB / 1.387 GB, free: 1.961 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003638/0.4849, allocations: 1.497 MB / 1.388 GB, free: 472 kB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004734/0.4853, allocations: 402.5 kB / 1.389 GB, free: 68 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.4866, allocations: 0.9215 MB / 1.39 GB, free: 15.14 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005673/0.4923, allocations: 3.143 MB / 1.393 GB, free: 11.99 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.4923, allocations: 3.984 kB / 1.393 GB, free: 11.98 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4923, allocations: 3.938 kB / 1.393 GB, free: 11.98 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.388e-05/0.4924, allocations: 0 / 1.393 GB, free: 11.98 MB / 1.092 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.004442/0.4968, allocations: 2.019 MB / 1.395 GB, free: 9.914 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4968, allocations: 12.03 kB / 1.395 GB, free: 9.902 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.275e-05/0.4969, allocations: 26.22 kB / 1.395 GB, free: 9.875 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000196/0.4971, allocations: 152.6 kB / 1.395 GB, free: 9.719 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.4995, allocations: 459 kB / 1.395 GB, free: 9.27 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/0.5027, allocations: 1.5 MB / 1.397 GB, free: 7.723 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.5027, allocations: 78.03 kB / 1.397 GB, free: 7.645 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.5029, allocations: 108 kB / 1.397 GB, free: 7.539 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/0.5056, allocations: 1.313 MB / 1.398 GB, free: 6.117 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.5057, allocations: 3.938 kB / 1.398 GB, free: 6.113 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.5058, allocations: 44 kB / 1.398 GB, free: 6.07 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.5058, allocations: 24 kB / 1.398 GB, free: 6.047 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.5086, allocations: 1.108 MB / 1.399 GB, free: 4.934 MB / 1.092 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.009908/0.5185, allocations: 7.377 MB / 1.407 GB, free: 13.06 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/0.5219, allocations: 0.7887 MB / 1.407 GB, free: 12.27 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006504/0.5225, allocations: 258 kB / 1.408 GB, free: 12.01 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000572/0.5231, allocations: 160.3 kB / 1.408 GB, free: 11.86 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.5231, allocations: 46.92 kB / 1.408 GB, free: 11.8 MB / 1.107 GB Notification: Performance of pre-optimization done (n=48): time 2.044e-06/0.5231, allocations: 0 / 1.408 GB, free: 11.8 MB / 1.107 GB Notification: Performance of matching and sorting (n=48): time 0.005093/0.5282, allocations: 1.26 MB / 1.409 GB, free: 10.53 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.5283, allocations: 55.84 kB / 1.409 GB, free: 10.46 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002659/0.5309, allocations: 1.549 MB / 1.411 GB, free: 8.902 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-05/0.531, allocations: 41.7 kB / 1.411 GB, free: 8.855 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006898/0.5317, allocations: 0.6818 MB / 1.411 GB, free: 8.168 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.5319, allocations: 178.5 kB / 1.412 GB, free: 7.992 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/0.5323, allocations: 170.5 kB / 1.412 GB, free: 7.82 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.5325, allocations: 341.9 kB / 1.412 GB, free: 7.48 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.5335, allocations: 361.8 kB / 1.412 GB, free: 7.129 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.5349, allocations: 0.6584 MB / 1.413 GB, free: 6.344 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.5369, allocations: 0.8897 MB / 1.414 GB, free: 5.348 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.5369, allocations: 0 / 1.414 GB, free: 5.348 MB / 1.107 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003244/0.5401, allocations: 1.2 MB / 1.415 GB, free: 4.137 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.5402, allocations: 8 kB / 1.415 GB, free: 4.129 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.5402, allocations: 11.94 kB / 1.415 GB, free: 4.117 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009486/0.5411, allocations: 224.6 kB / 1.415 GB, free: 3.895 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007912/0.5419, allocations: 191.7 kB / 1.416 GB, free: 3.707 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009965/0.5429, allocations: 0.7162 MB / 1.416 GB, free: 2.965 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.5446, allocations: 223 kB / 1.416 GB, free: 2.746 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.5447, allocations: 43.98 kB / 1.416 GB, free: 2.703 MB / 1.107 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.0006797/0.5453, allocations: 357.6 kB / 1.417 GB, free: 2.344 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.5456, allocations: 155 kB / 1.417 GB, free: 2.191 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/0.5482, allocations: 1.15 MB / 1.418 GB, free: 1.023 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.5482, allocations: 8 kB / 1.418 GB, free: 1.016 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5482, allocations: 4 kB / 1.418 GB, free: 1.012 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.5482, allocations: 3.984 kB / 1.418 GB, free: 1.008 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00564/0.5539, allocations: 2.499 MB / 1.421 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.5539, allocations: 3.984 kB / 1.421 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.5543, allocations: 88.08 kB / 1.421 GB, free: 14.34 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007933/0.555, allocations: 212.5 kB / 1.421 GB, free: 14.13 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.5551, allocations: 19.98 kB / 1.421 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.5565, allocations: 0.7747 MB / 1.422 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5565, allocations: 0 / 1.422 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003753/0.5603, allocations: 1.219 MB / 1.423 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007139/0.561, allocations: 286.8 kB / 1.423 GB, free: 11.77 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.5612, allocations: 15.95 kB / 1.423 GB, free: 11.75 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009017/0.5621, allocations: 75.86 kB / 1.423 GB, free: 11.68 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.162e-05/0.5622, allocations: 40.36 kB / 1.423 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.5622, allocations: 27.98 kB / 1.423 GB, free: 11.61 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00192/0.5642, allocations: 1.09 MB / 1.424 GB, free: 10.53 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.5642, allocations: 0 / 1.424 GB, free: 10.53 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001342/0.5655, allocations: 455.1 kB / 1.425 GB, free: 10.08 MB / 1.123 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.0048/0.5703, allocations: 2.114 MB / 1.427 GB, free: 7.926 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002357/0.5727, allocations: 0.8364 MB / 1.428 GB, free: 7.094 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5727, allocations: 0 / 1.428 GB, free: 7.094 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.574, allocations: 419.4 kB / 1.428 GB, free: 6.684 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003472/0.5775, allocations: 0.7377 MB / 1.429 GB, free: 5.953 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01997/0.5975, allocations: 10.52 MB / 1.439 GB, free: 11.05 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008885/0.5984, allocations: 1.172 MB / 1.44 GB, free: 9.844 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001077/0.5994, allocations: 268.8 kB / 1.44 GB, free: 9.578 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008552/0.6003, allocations: 0.5461 MB / 1.441 GB, free: 9.031 MB / 1.139 GB Notification: Performance of SimCode: time 6.61e-07/0.6003, allocations: 0 / 1.441 GB, free: 9.031 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0939/0.6942, allocations: 44.53 MB / 1.484 GB, free: 13.05 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/16.51, allocations: 5.688 kB / 1.484 GB, free: 13.05 MB / 1.186 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.49686532904161]