Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.00701/0.00701, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001623/0.001623, allocations: 187.2 kB / 16.67 MB, free: 5.957 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 64.36 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3166, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.7945/1.111, allocations: 132.3 MB / 1.336 GB, free: 1.145 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03989/1.151, allocations: 23.22 MB / 1.359 GB, free: 428 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00582/1.157, allocations: 121.5 kB / 1.359 GB, free: 384 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004934/1.162, allocations: 1.494 MB / 1.361 GB, free: 15.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01307/1.175, allocations: 4.092 MB / 1.365 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006645/1.182, allocations: 2.189 MB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01114/1.193, allocations: 6.533 MB / 1.373 GB, free: 7.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00537/1.198, allocations: 2.367 MB / 1.376 GB, free: 5.801 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007966/1.206, allocations: 2.807 MB / 1.378 GB, free: 4.062 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004395/1.211, allocations: 1.893 MB / 1.38 GB, free: 2.895 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001007/1.212, allocations: 247.9 kB / 1.38 GB, free: 2.895 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005861/1.218, allocations: 1.94 MB / 1.382 GB, free: 1.875 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001159/1.219, allocations: 0.5933 MB / 1.383 GB, free: 1.383 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003553/1.222, allocations: 1.466 MB / 1.384 GB, free: 400 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00944/1.232, allocations: 4.347 MB / 1.389 GB, free: 13.49 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.232, allocations: 3.938 kB / 1.389 GB, free: 13.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.285e-06/1.232, allocations: 1.5 kB / 1.389 GB, free: 13.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001482/1.232, allocations: 3.938 kB / 1.389 GB, free: 13.48 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.008691/1.241, allocations: 3.182 MB / 1.392 GB, free: 11.12 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/1.241, allocations: 8.406 kB / 1.392 GB, free: 11.12 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005175/1.241, allocations: 224 kB / 1.392 GB, free: 10.94 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004855/1.246, allocations: 0.8397 MB / 1.393 GB, free: 10.55 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006055/1.252, allocations: 2.328 MB / 1.395 GB, free: 8.766 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/1.252, allocations: 123.8 kB / 1.395 GB, free: 8.711 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000392/1.253, allocations: 162.2 kB / 1.395 GB, free: 8.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00475/1.258, allocations: 1.922 MB / 1.397 GB, free: 7.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/1.258, allocations: 6.375 kB / 1.397 GB, free: 7.477 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/1.258, allocations: 61.28 kB / 1.397 GB, free: 7.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/1.258, allocations: 38.34 kB / 1.397 GB, free: 7.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004768/1.263, allocations: 1.802 MB / 1.399 GB, free: 6.535 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.01396/1.277, allocations: 8.982 MB / 1.408 GB, free: 13.41 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004305/1.281, allocations: 1.201 MB / 1.409 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/1.282, allocations: 462.2 kB / 1.409 GB, free: 11.74 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.283, allocations: 1.726 MB / 1.411 GB, free: 9.625 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/1.283, allocations: 38.56 kB / 1.411 GB, free: 9.578 MB / 1.092 GB Notification: Performance of pre-optimization done (n=76): time 2.364e-06/1.283, allocations: 0 / 1.411 GB, free: 9.578 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.008794/1.292, allocations: 2.354 MB / 1.413 GB, free: 7.172 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/1.292, allocations: 85.11 kB / 1.413 GB, free: 7.07 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/1.297, allocations: 2.524 MB / 1.416 GB, free: 4.527 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/1.297, allocations: 45.7 kB / 1.416 GB, free: 4.477 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008951/1.298, allocations: 1.038 MB / 1.417 GB, free: 3.43 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/1.298, allocations: 272.2 kB / 1.417 GB, free: 3.16 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004717/1.299, allocations: 250.6 kB / 1.417 GB, free: 2.91 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.299, allocations: 349.9 kB / 1.418 GB, free: 2.562 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/1.301, allocations: 0.5686 MB / 1.418 GB, free: 1.992 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/1.303, allocations: 0.9543 MB / 1.419 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002987/1.306, allocations: 1.256 MB / 1.421 GB, free: 15.52 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.306, allocations: 0 / 1.421 GB, free: 15.52 MB / 1.107 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006491/1.312, allocations: 2.028 MB / 1.422 GB, free: 13.48 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/1.312, allocations: 12.12 kB / 1.422 GB, free: 13.46 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/1.312, allocations: 8 kB / 1.423 GB, free: 13.46 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/1.314, allocations: 492 kB / 1.423 GB, free: 12.97 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/1.315, allocations: 283.6 kB / 1.423 GB, free: 12.7 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/1.317, allocations: 1.518 MB / 1.425 GB, free: 11.13 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/1.32, allocations: 370 kB / 1.425 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/1.32, allocations: 59.95 kB / 1.425 GB, free: 10.71 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009191/1.321, allocations: 465.5 kB / 1.426 GB, free: 10.24 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006565/1.322, allocations: 241 kB / 1.426 GB, free: 10 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003771/1.326, allocations: 1.507 MB / 1.427 GB, free: 8.484 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/1.326, allocations: 8 kB / 1.427 GB, free: 8.477 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.326, allocations: 3.938 kB / 1.427 GB, free: 8.473 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.326, allocations: 7.969 kB / 1.427 GB, free: 8.465 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00818/1.334, allocations: 3.616 MB / 1.431 GB, free: 4.734 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/1.334, allocations: 0 / 1.431 GB, free: 4.734 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005882/1.335, allocations: 124.1 kB / 1.431 GB, free: 4.613 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/1.336, allocations: 0.491 MB / 1.431 GB, free: 4.117 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/1.336, allocations: 23.98 kB / 1.431 GB, free: 4.094 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/1.339, allocations: 1.586 MB / 1.433 GB, free: 2.457 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.339, allocations: 8 kB / 1.433 GB, free: 2.449 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006326/1.345, allocations: 1.931 MB / 1.435 GB, free: 460 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.347, allocations: 493.8 kB / 1.435 GB, free: 15.94 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006858/1.347, allocations: 27.92 kB / 1.435 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/1.349, allocations: 143.8 kB / 1.436 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.38e-05/1.35, allocations: 55.86 kB / 1.436 GB, free: 15.72 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.35, allocations: 43.97 kB / 1.436 GB, free: 15.68 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003572/1.353, allocations: 1.769 MB / 1.437 GB, free: 13.9 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.4e-07/1.353, allocations: 0 / 1.437 GB, free: 13.9 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00276/1.356, allocations: 0.6905 MB / 1.438 GB, free: 13.21 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007964/1.364, allocations: 2.995 MB / 1.441 GB, free: 10.15 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004404/1.368, allocations: 1.353 MB / 1.442 GB, free: 8.801 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.368, allocations: 0 / 1.442 GB, free: 8.801 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002507/1.371, allocations: 0.6819 MB / 1.443 GB, free: 8.117 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007654/1.379, allocations: 1.331 MB / 1.444 GB, free: 6.805 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03628/1.415, allocations: 16.66 MB / 1.461 GB, free: 5.668 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/1.416, allocations: 1.482 MB / 1.462 GB, free: 4.152 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00203/1.418, allocations: 440.9 kB / 1.462 GB, free: 3.723 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.42, allocations: 0.9015 MB / 1.463 GB, free: 2.82 MB / 1.139 GB Notification: Performance of SimCode: time 3.196e-06/1.42, allocations: 0 / 1.463 GB, free: 2.82 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/1.53, allocations: 67.54 MB / 1.529 GB, free: 88 kB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/17.29, allocations: 3.984 kB / 1.529 GB, free: 84 kB / 1.201 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches