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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_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.007192/0.007192, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.002102/0.002102, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.221/1.221, 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 11.1.0-maint.11.x/package.mo): time 2.339/2.339, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 71.83 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5846/0.5862, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06359/0.6499, allocations: 70.5 MB / 1.289 GB, free: 11.28 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02094/0.6708, allocations: 18.91 MB / 1.307 GB, free: 8.309 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.6721, allocations: 71.56 kB / 1.308 GB, free: 8.238 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.6736, allocations: 0.8268 MB / 1.308 GB, free: 7.406 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004779/0.6784, allocations: 2.859 MB / 1.311 GB, free: 4.535 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00282/0.6813, allocations: 1.649 MB / 1.313 GB, free: 2.898 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003646/0.6849, allocations: 4.05 MB / 1.317 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.6864, allocations: 1.46 MB / 1.318 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.6891, allocations: 1.767 MB / 1.32 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.6904, allocations: 1.171 MB / 1.321 GB, free: 10.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.6906, allocations: 176 kB / 1.321 GB, free: 10.22 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.6927, allocations: 1.419 MB / 1.323 GB, free: 8.801 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000318/0.693, allocations: 390.6 kB / 1.323 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007703/0.6938, allocations: 0.9177 MB / 1.324 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003143/0.6969, allocations: 3.116 MB / 1.327 GB, free: 4.371 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.697, allocations: 7.938 kB / 1.327 GB, free: 4.363 MB / 1.045 GB Notification: Performance of FrontEnd: time 8.81e-07/0.697, allocations: 0 / 1.327 GB, free: 4.363 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.697, allocations: 0 / 1.327 GB, free: 4.363 MB / 1.045 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.002866/0.6999, allocations: 2.083 MB / 1.329 GB, free: 2.215 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.6999, allocations: 8.031 kB / 1.329 GB, free: 2.207 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.7001, allocations: 152.6 kB / 1.329 GB, free: 2.051 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.7021, allocations: 463.1 kB / 1.33 GB, free: 1.598 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.7043, allocations: 1.552 MB / 1.331 GB, free: 15.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.52e-05/0.7043, allocations: 86.03 kB / 1.331 GB, free: 15.9 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.7045, allocations: 104 kB / 1.331 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.7067, allocations: 1.311 MB / 1.332 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.7068, allocations: 3.938 kB / 1.332 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.302e-05/0.7069, allocations: 48 kB / 1.333 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.7069, allocations: 24 kB / 1.333 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.7093, allocations: 1.104 MB / 1.334 GB, free: 13.2 MB / 1.061 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.00744/0.7168, allocations: 7.511 MB / 1.341 GB, free: 5.172 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.7197, allocations: 0.8158 MB / 1.342 GB, free: 4.352 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.7203, allocations: 282 kB / 1.342 GB, free: 4.074 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/0.7215, allocations: 1.726 MB / 1.344 GB, free: 1.961 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.7216, allocations: 42.94 kB / 1.344 GB, free: 1.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=48): time 1.433e-06/0.7216, allocations: 0 / 1.344 GB, free: 1.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.004305/0.7259, allocations: 1.339 MB / 1.345 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.7259, allocations: 55.84 kB / 1.345 GB, free: 484 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.7279, allocations: 1.542 MB / 1.347 GB, free: 14.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.728, allocations: 37.7 kB / 1.347 GB, free: 14.88 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000544/0.7285, allocations: 0.6818 MB / 1.347 GB, free: 14.19 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.7287, allocations: 182.5 kB / 1.348 GB, free: 14.01 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.7289, allocations: 174.5 kB / 1.348 GB, free: 13.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.7291, allocations: 334 kB / 1.348 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000916/0.73, allocations: 365.8 kB / 1.348 GB, free: 13.14 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.7311, allocations: 0.6622 MB / 1.349 GB, free: 12.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.7329, allocations: 0.8906 MB / 1.35 GB, free: 11.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.7329, allocations: 4 kB / 1.35 GB, free: 11.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002617/0.7355, allocations: 1.198 MB / 1.351 GB, free: 10.15 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.7355, allocations: 10.5 kB / 1.351 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.7355, allocations: 8 kB / 1.351 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007502/0.7363, allocations: 228.6 kB / 1.351 GB, free: 9.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.737, allocations: 187.7 kB / 1.351 GB, free: 9.727 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008065/0.7378, allocations: 0.7318 MB / 1.352 GB, free: 8.969 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.739, allocations: 215 kB / 1.352 GB, free: 8.758 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.916e-05/0.7391, allocations: 43.97 kB / 1.352 GB, free: 8.715 MB / 1.076 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.0004234/0.7395, allocations: 353.6 kB / 1.353 GB, free: 8.359 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.7397, allocations: 155 kB / 1.353 GB, free: 8.207 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.7419, allocations: 1.141 MB / 1.354 GB, free: 7.047 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.7419, allocations: 12 kB / 1.354 GB, free: 7.035 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7419, allocations: 3.984 kB / 1.354 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7419, allocations: 0 / 1.354 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004626/0.7466, allocations: 2.503 MB / 1.356 GB, free: 4.445 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7466, allocations: 192 / 1.356 GB, free: 4.445 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.7469, allocations: 91.88 kB / 1.357 GB, free: 4.355 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000644/0.7476, allocations: 216.5 kB / 1.357 GB, free: 4.141 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.7476, allocations: 16 kB / 1.357 GB, free: 4.125 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.7488, allocations: 0.7786 MB / 1.358 GB, free: 3.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7488, allocations: 0 / 1.358 GB, free: 3.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.752, allocations: 1.212 MB / 1.359 GB, free: 2.066 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.7524, allocations: 359.8 kB / 1.359 GB, free: 1.695 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.7525, allocations: 16 kB / 1.359 GB, free: 1.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000769/0.7533, allocations: 75.84 kB / 1.359 GB, free: 1.605 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.7534, allocations: 40.45 kB / 1.359 GB, free: 1.566 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.7534, allocations: 27.98 kB / 1.359 GB, free: 1.539 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001479/0.7549, allocations: 1.082 MB / 1.36 GB, free: 472 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7549, allocations: 4 kB / 1.36 GB, free: 468 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009313/0.7559, allocations: 451.1 kB / 1.361 GB, free: 16 kB / 1.076 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.004101/0.76, allocations: 2.137 MB / 1.363 GB, free: 13.84 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.7619, allocations: 0.848 MB / 1.364 GB, free: 12.99 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7619, allocations: 0 / 1.364 GB, free: 12.99 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.7632, allocations: 452.1 kB / 1.364 GB, free: 12.55 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/0.7658, allocations: 0.7343 MB / 1.365 GB, free: 11.83 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.7812, allocations: 10.49 MB / 1.375 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/0.7819, allocations: 1.176 MB / 1.376 GB, free: 15.76 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0007092/0.7826, allocations: 267.1 kB / 1.376 GB, free: 15.5 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006843/0.7833, allocations: 0.55 MB / 1.377 GB, free: 14.95 MB / 1.107 GB Notification: Performance of SimCode: time 2.51e-07/0.7833, allocations: 0 / 1.377 GB, free: 14.95 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.667/3.45, allocations: 43.71 MB / 1.42 GB, free: 3.793 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 25/28.46, allocations: 0 / 1.42 GB, free: 3.793 MB / 1.139 GB (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 --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) 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) Reference file matches