Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_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.001115/0.001115, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.89 kB / 0.8126 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.5609, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1221/0.6831, allocations: 132.3 MB / 1.079 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03022/0.7133, allocations: 23.22 MB / 1.102 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004466/0.7178, allocations: 127.2 kB / 1.102 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004195/0.722, allocations: 1.49 MB / 1.103 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.7329, allocations: 4.098 MB / 1.107 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005672/0.7386, allocations: 2.147 MB / 1.109 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.008653/0.7473, allocations: 6.53 MB / 1.116 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004181/0.7515, allocations: 2.361 MB / 1.118 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006798/0.7583, allocations: 2.732 MB / 1.121 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003368/0.7617, allocations: 1.89 MB / 1.122 GB, free: 448 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0007612/0.7625, allocations: 251.9 kB / 1.123 GB, free: 196 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004693/0.7672, allocations: 1.93 MB / 1.125 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008238/0.768, allocations: 0.5992 MB / 1.125 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002375/0.7704, allocations: 1.462 MB / 1.127 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006699/0.7771, allocations: 4.312 MB / 1.131 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7771, allocations: 0 / 1.131 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7771, allocations: 4 kB / 1.131 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001295/0.7773, allocations: 0 / 1.131 GB, free: 7.859 MB / 0.8887 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.005794/0.7831, allocations: 3.184 MB / 1.134 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.7831, allocations: 12.03 kB / 1.134 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002379/0.7834, allocations: 219.9 kB / 1.134 GB, free: 4.352 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004608/0.788, allocations: 0.8434 MB / 1.135 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/0.7919, allocations: 2.19 MB / 1.137 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009963/0.7929, allocations: 290.9 kB / 1.137 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.7931, allocations: 164 kB / 1.138 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/0.7971, allocations: 1.934 MB / 1.139 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.7971, allocations: 12 kB / 1.139 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001682/0.7973, allocations: 63.94 kB / 1.139 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.7974, allocations: 40 kB / 1.14 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004795/0.8022, allocations: 1.827 MB / 1.141 GB, free: 12.85 MB / 0.9044 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.01233/0.8145, allocations: 9.078 MB / 1.15 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004377/0.8189, allocations: 1.205 MB / 1.151 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001112/0.82, allocations: 461.3 kB / 1.152 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/0.8211, allocations: 1.723 MB / 1.153 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.8212, allocations: 46.5 kB / 1.153 GB, free: 15.33 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.8212, allocations: 0 / 1.153 GB, free: 15.33 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.00897/0.8302, allocations: 2.34 MB / 1.156 GB, free: 12.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.8302, allocations: 85.11 kB / 1.156 GB, free: 12.83 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.834, allocations: 2.54 MB / 1.158 GB, free: 10.27 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.8342, allocations: 45.7 kB / 1.158 GB, free: 10.22 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008275/0.835, allocations: 1.041 MB / 1.159 GB, free: 9.172 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.8353, allocations: 284 kB / 1.16 GB, free: 8.891 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/0.8357, allocations: 254.6 kB / 1.16 GB, free: 8.637 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.8358, allocations: 349.9 kB / 1.16 GB, free: 8.289 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001823/0.8376, allocations: 0.5842 MB / 1.161 GB, free: 7.703 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.8398, allocations: 0.9738 MB / 1.162 GB, free: 6.578 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/0.8429, allocations: 1.264 MB / 1.163 GB, free: 5.211 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.8429, allocations: 4 kB / 1.163 GB, free: 5.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006734/0.8496, allocations: 2.044 MB / 1.165 GB, free: 3.148 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.8497, allocations: 8 kB / 1.165 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.8497, allocations: 8 kB / 1.165 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/0.8514, allocations: 495.5 kB / 1.165 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.8527, allocations: 291.6 kB / 1.166 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.8548, allocations: 1.522 MB / 1.167 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/0.8577, allocations: 393.9 kB / 1.168 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.8578, allocations: 59.97 kB / 1.168 GB, free: 348 kB / 0.92 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.0007932/0.8586, allocations: 461.5 kB / 1.168 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004144/0.859, allocations: 248.9 kB / 1.168 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.8627, allocations: 1.512 MB / 1.17 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.8627, allocations: 12.09 kB / 1.17 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.8628, allocations: 7.922 kB / 1.17 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.8628, allocations: 3.984 kB / 1.17 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007285/0.8701, allocations: 3.612 MB / 1.173 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.8701, allocations: 4 kB / 1.173 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006156/0.8707, allocations: 136.1 kB / 1.174 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.8723, allocations: 485.1 kB / 1.174 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/0.8724, allocations: 27.98 kB / 1.174 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.875, allocations: 1.582 MB / 1.176 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.8751, allocations: 7.938 kB / 1.176 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006083/0.8812, allocations: 1.939 MB / 1.177 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009032/0.8821, allocations: 493.6 kB / 1.178 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003245/0.8824, allocations: 16 kB / 1.178 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.8842, allocations: 147.8 kB / 1.178 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/0.8842, allocations: 59.8 kB / 1.178 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.354e-05/0.8843, allocations: 43.97 kB / 1.178 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002858/0.8872, allocations: 1.789 MB / 1.18 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8872, allocations: 0 / 1.18 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001776/0.889, allocations: 0.6944 MB / 1.181 GB, free: 2.809 MB / 0.9356 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.007229/0.8962, allocations: 3.011 MB / 1.184 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004335/0.9006, allocations: 1.396 MB / 1.185 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.9006, allocations: 0 / 1.185 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002414/0.903, allocations: 0.6779 MB / 1.186 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005853/0.9089, allocations: 1.327 MB / 1.187 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03293/0.9418, allocations: 19.23 MB / 1.206 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009391/0.9428, allocations: 1.49 MB / 1.207 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00188/0.9447, allocations: 444 kB / 1.208 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/0.9458, allocations: 0.8976 MB / 1.208 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/0.9458, allocations: 0 / 1.208 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5162/1.462, allocations: 68.5 MB / 1.275 GB, free: 291.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.64, allocations: 4.609 kB / 1.275 GB, free: 291.4 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches