Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01191/0.01191, allocations: 98.39 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003318/0.003318, allocations: 194.1 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.533/2.533, allocations: 482.6 MB / 0.755 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 71.77 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2575, allocations: 162.3 MB / 1.242 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06404/0.3216, allocations: 70.6 MB / 1.311 GB, free: 2.047 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02154/0.3431, allocations: 18.93 MB / 1.329 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.3448, allocations: 75.56 kB / 1.329 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.3464, allocations: 0.8228 MB / 1.33 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005483/0.3519, allocations: 2.829 MB / 1.333 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.3551, allocations: 1.653 MB / 1.335 GB, free: 9.676 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004047/0.3591, allocations: 4.027 MB / 1.338 GB, free: 5.633 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.3607, allocations: 1.445 MB / 1.34 GB, free: 4.148 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.3639, allocations: 1.892 MB / 1.342 GB, free: 2.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.3652, allocations: 1.155 MB / 1.343 GB, free: 1.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.3654, allocations: 176 kB / 1.343 GB, free: 0.918 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.3677, allocations: 1.416 MB / 1.344 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.3681, allocations: 382.7 kB / 1.345 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0007989/0.3689, allocations: 0.9215 MB / 1.346 GB, free: 14.2 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00344/0.3723, allocations: 3.119 MB / 1.349 GB, free: 11.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3723, allocations: 0 / 1.349 GB, free: 11.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3723, allocations: 0 / 1.349 GB, free: 11.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.3724, allocations: 0 / 1.349 GB, free: 11.07 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.003051/0.3754, allocations: 2.09 MB / 1.351 GB, free: 8.914 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3754, allocations: 8.031 kB / 1.351 GB, free: 8.906 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.3756, allocations: 156.6 kB / 1.351 GB, free: 8.746 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.3777, allocations: 459.1 kB / 1.351 GB, free: 8.297 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.38, allocations: 1.552 MB / 1.353 GB, free: 6.688 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.185e-05/0.3801, allocations: 82.03 kB / 1.353 GB, free: 6.605 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.3803, allocations: 100 kB / 1.353 GB, free: 6.508 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.3826, allocations: 1.321 MB / 1.354 GB, free: 5.078 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.3826, allocations: 3.938 kB / 1.354 GB, free: 5.074 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.3827, allocations: 44 kB / 1.354 GB, free: 5.031 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.3827, allocations: 27.94 kB / 1.354 GB, free: 5.004 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/0.3852, allocations: 1.108 MB / 1.355 GB, free: 3.891 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.00777/0.393, allocations: 7.511 MB / 1.363 GB, free: 11.87 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/0.396, allocations: 0.8004 MB / 1.364 GB, free: 11.06 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005893/0.3966, allocations: 282 kB / 1.364 GB, free: 10.79 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.398, allocations: 1.726 MB / 1.366 GB, free: 8.668 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3981, allocations: 38.94 kB / 1.366 GB, free: 8.621 MB / 1.092 GB Notification: Performance of pre-optimization done (n=48): time 1.773e-06/0.3981, allocations: 4 kB / 1.366 GB, free: 8.617 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.004387/0.4025, allocations: 1.339 MB / 1.367 GB, free: 7.25 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.4025, allocations: 55.84 kB / 1.367 GB, free: 7.184 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/0.4046, allocations: 1.546 MB / 1.368 GB, free: 5.629 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/0.4046, allocations: 37.7 kB / 1.369 GB, free: 5.586 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005826/0.4052, allocations: 0.6896 MB / 1.369 GB, free: 4.891 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.4054, allocations: 174.5 kB / 1.369 GB, free: 4.719 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/0.4056, allocations: 174.5 kB / 1.37 GB, free: 4.543 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4058, allocations: 338 kB / 1.37 GB, free: 4.207 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.4068, allocations: 361.8 kB / 1.37 GB, free: 3.855 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.408, allocations: 0.6585 MB / 1.371 GB, free: 3.07 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.4098, allocations: 0.8945 MB / 1.372 GB, free: 2.066 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4098, allocations: 0 / 1.372 GB, free: 2.066 MB / 1.092 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002683/0.4125, allocations: 1.202 MB / 1.373 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.4125, allocations: 10.19 kB / 1.373 GB, free: 0.8438 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4125, allocations: 8 kB / 1.373 GB, free: 0.8359 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007721/0.4133, allocations: 216.7 kB / 1.373 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/0.414, allocations: 199.7 kB / 1.373 GB, free: 436 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009123/0.4149, allocations: 0.7278 MB / 1.374 GB, free: 15.67 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.4162, allocations: 211 kB / 1.374 GB, free: 15.46 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-05/0.4163, allocations: 43.98 kB / 1.374 GB, free: 15.42 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.0004985/0.4168, allocations: 361.6 kB / 1.375 GB, free: 15.06 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.417, allocations: 155 kB / 1.375 GB, free: 14.91 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.4193, allocations: 1.145 MB / 1.376 GB, free: 13.74 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.4193, allocations: 11.98 kB / 1.376 GB, free: 13.73 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4193, allocations: 0 / 1.376 GB, free: 13.73 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.4193, allocations: 7.984 kB / 1.376 GB, free: 13.72 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00477/0.4241, allocations: 2.503 MB / 1.378 GB, free: 11.13 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.4241, allocations: 3.984 kB / 1.378 GB, free: 11.13 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.4245, allocations: 79.89 kB / 1.378 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007183/0.4252, allocations: 216.8 kB / 1.379 GB, free: 10.84 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.4252, allocations: 19.98 kB / 1.379 GB, free: 10.82 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.4265, allocations: 0.763 MB / 1.379 GB, free: 10.03 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.4265, allocations: 4.031 kB / 1.379 GB, free: 10.02 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.4297, allocations: 1.208 MB / 1.381 GB, free: 8.777 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.4301, allocations: 363.7 kB / 1.381 GB, free: 8.402 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.4303, allocations: 16 kB / 1.381 GB, free: 8.387 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007823/0.4311, allocations: 75.91 kB / 1.381 GB, free: 8.312 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.4312, allocations: 52.44 kB / 1.381 GB, free: 8.262 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.4312, allocations: 23.98 kB / 1.381 GB, free: 8.238 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001554/0.4328, allocations: 1.082 MB / 1.382 GB, free: 7.16 MB / 1.107 GB Notification: Performance of sort global known variables: time 2e-07/0.4328, allocations: 0 / 1.382 GB, free: 7.16 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001032/0.4338, allocations: 447.1 kB / 1.383 GB, free: 6.723 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.004175/0.438, allocations: 2.129 MB / 1.385 GB, free: 4.555 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.44, allocations: 0.8488 MB / 1.385 GB, free: 3.703 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.44, allocations: 0 / 1.385 GB, free: 3.703 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.4413, allocations: 447.3 kB / 1.386 GB, free: 3.27 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/0.444, allocations: 0.743 MB / 1.387 GB, free: 2.535 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.4596, allocations: 10.51 MB / 1.397 GB, free: 7.648 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007661/0.4604, allocations: 1.164 MB / 1.398 GB, free: 6.449 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007589/0.4612, allocations: 271.4 kB / 1.398 GB, free: 6.184 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007039/0.4619, allocations: 0.5422 MB / 1.399 GB, free: 5.641 MB / 1.123 GB Notification: Performance of SimCode: time 2.2e-07/0.4619, allocations: 0 / 1.399 GB, free: 5.641 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.629/2.091, allocations: 43.73 MB / 1.441 GB, free: 10.46 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.06/24.16, allocations: 17.22 kB / 1.442 GB, free: 10.45 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches