Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001815/0.001815, 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.002272/0.002272, allocations: 217.5 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.199/3.199, allocations: 0.49 GB / 0.7959 GB, free: 33.34 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.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_12_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.001952/0.001952, allocations: 66.8 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3776, allocations: 176.1 MB / 1.327 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08115/0.4587, allocations: 72.11 MB / 1.397 GB, free: 9.578 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02951/0.4882, allocations: 19.1 MB / 1.416 GB, free: 6.418 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003473/0.4917, allocations: 95.19 kB / 1.416 GB, free: 6.324 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.4947, allocations: 0.8618 MB / 1.417 GB, free: 5.457 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009888/0.5046, allocations: 3.06 MB / 1.42 GB, free: 2.387 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005893/0.5105, allocations: 1.714 MB / 1.421 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007679/0.5182, allocations: 4.081 MB / 1.425 GB, free: 12.59 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.5215, allocations: 1.157 MB / 1.426 GB, free: 11.4 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006307/0.5278, allocations: 1.98 MB / 1.428 GB, free: 9.418 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/0.5309, allocations: 1.214 MB / 1.43 GB, free: 8.199 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000703/0.5316, allocations: 172 kB / 1.43 GB, free: 8.031 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00432/0.5359, allocations: 1.49 MB / 1.431 GB, free: 6.539 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0008397/0.5368, allocations: 410.4 kB / 1.432 GB, free: 6.137 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002421/0.5392, allocations: 0.9138 MB / 1.432 GB, free: 5.219 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007325/0.5465, allocations: 3.154 MB / 1.436 GB, free: 2.055 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.5465, allocations: 0 / 1.436 GB, free: 2.055 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5465, allocations: 0 / 1.436 GB, free: 2.055 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.97e-05/0.5466, allocations: 0 / 1.436 GB, free: 2.055 MB / 1.123 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.00575/0.5524, allocations: 2.023 MB / 1.438 GB, free: 15.98 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.5524, allocations: 12.03 kB / 1.438 GB, free: 15.97 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.764e-05/0.5525, allocations: 26.22 kB / 1.438 GB, free: 15.94 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004115/0.5529, allocations: 160.4 kB / 1.438 GB, free: 15.78 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.5555, allocations: 462.9 kB / 1.438 GB, free: 15.33 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/0.5594, allocations: 1.504 MB / 1.44 GB, free: 13.77 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.5596, allocations: 78.03 kB / 1.44 GB, free: 13.7 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/0.5598, allocations: 108 kB / 1.44 GB, free: 13.59 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/0.5631, allocations: 1.321 MB / 1.441 GB, free: 12.16 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.5631, allocations: 3.938 kB / 1.441 GB, free: 12.16 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.5633, allocations: 51.98 kB / 1.441 GB, free: 12.11 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.5633, allocations: 24 kB / 1.441 GB, free: 12.08 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00309/0.5664, allocations: 1.108 MB / 1.442 GB, free: 10.97 MB / 1.139 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.01142/0.5778, allocations: 7.369 MB / 1.449 GB, free: 3.113 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.5813, allocations: 0.7706 MB / 1.45 GB, free: 2.332 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007003/0.582, allocations: 273.9 kB / 1.45 GB, free: 2.062 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006504/0.5826, allocations: 156.3 kB / 1.451 GB, free: 1.91 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.5826, allocations: 46.92 kB / 1.451 GB, free: 1.855 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 3.055e-06/0.5827, allocations: 0 / 1.451 GB, free: 1.855 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.005476/0.5881, allocations: 1.256 MB / 1.452 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.5882, allocations: 59.83 kB / 1.452 GB, free: 0.5156 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00357/0.5918, allocations: 1.55 MB / 1.453 GB, free: 14.95 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001627/0.5919, allocations: 41.7 kB / 1.453 GB, free: 14.91 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008153/0.5927, allocations: 0.6818 MB / 1.454 GB, free: 14.22 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.593, allocations: 182.5 kB / 1.454 GB, free: 14.04 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004068/0.5934, allocations: 182.5 kB / 1.454 GB, free: 13.86 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5936, allocations: 333.9 kB / 1.455 GB, free: 13.53 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.5947, allocations: 365.8 kB / 1.455 GB, free: 13.17 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.5962, allocations: 0.6697 MB / 1.456 GB, free: 12.37 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.5984, allocations: 0.8819 MB / 1.457 GB, free: 11.38 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.5984, allocations: 4 kB / 1.457 GB, free: 11.38 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00376/0.6022, allocations: 1.193 MB / 1.458 GB, free: 10.18 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.6022, allocations: 8 kB / 1.458 GB, free: 10.17 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.6022, allocations: 8 kB / 1.458 GB, free: 10.16 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.6032, allocations: 228.6 kB / 1.458 GB, free: 9.934 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008202/0.604, allocations: 187.7 kB / 1.458 GB, free: 9.75 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.6051, allocations: 0.724 MB / 1.459 GB, free: 9 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.6069, allocations: 215.1 kB / 1.459 GB, free: 8.789 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.607, allocations: 39.98 kB / 1.459 GB, free: 8.75 MB / 1.154 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.0008513/0.6079, allocations: 361.6 kB / 1.46 GB, free: 8.387 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005145/0.6084, allocations: 155 kB / 1.46 GB, free: 8.234 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/0.6113, allocations: 1.16 MB / 1.461 GB, free: 7.055 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/0.6114, allocations: 8 kB / 1.461 GB, free: 7.047 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.6114, allocations: 7.984 kB / 1.461 GB, free: 7.039 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6114, allocations: 0 / 1.461 GB, free: 7.039 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006759/0.6182, allocations: 2.514 MB / 1.463 GB, free: 4.449 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.6182, allocations: 0 / 1.463 GB, free: 4.449 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.6186, allocations: 88.08 kB / 1.463 GB, free: 4.363 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008808/0.6195, allocations: 208.6 kB / 1.464 GB, free: 4.156 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-05/0.6195, allocations: 19.98 kB / 1.464 GB, free: 4.137 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.621, allocations: 0.7786 MB / 1.464 GB, free: 3.332 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.621, allocations: 0 / 1.464 GB, free: 3.332 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003965/0.625, allocations: 1.219 MB / 1.466 GB, free: 2.074 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.6261, allocations: 286.6 kB / 1.466 GB, free: 1.793 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004848/0.6266, allocations: 12 kB / 1.466 GB, free: 1.781 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.6277, allocations: 80.09 kB / 1.466 GB, free: 1.703 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.6279, allocations: 40.42 kB / 1.466 GB, free: 1.664 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.45e-05/0.6279, allocations: 27.92 kB / 1.466 GB, free: 1.637 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002476/0.6304, allocations: 1.09 MB / 1.467 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6304, allocations: 0 / 1.467 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002009/0.6324, allocations: 459.1 kB / 1.467 GB, free: 104 kB / 1.154 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.005307/0.6377, allocations: 2.117 MB / 1.47 GB, free: 13.94 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002607/0.6403, allocations: 0.8324 MB / 1.47 GB, free: 13.11 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.6404, allocations: 0 / 1.47 GB, free: 13.11 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.6418, allocations: 423.4 kB / 1.471 GB, free: 12.7 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004205/0.646, allocations: 0.7406 MB / 1.471 GB, free: 11.97 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02286/0.6689, allocations: 10.54 MB / 1.482 GB, free: 1.043 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.67, allocations: 1.172 MB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001237/0.6712, allocations: 272.1 kB / 1.483 GB, free: 15.57 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009441/0.6721, allocations: 0.55 MB / 1.484 GB, free: 15.02 MB / 1.186 GB Notification: Performance of SimCode: time 9.42e-07/0.6721, allocations: 0 / 1.484 GB, free: 15.02 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09676/0.7689, allocations: 44.56 MB / 1.527 GB, free: 3.016 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.46, allocations: 6.969 kB / 1.527 GB, free: 3.012 MB / 1.217 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.576944140018895]