Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",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.001689/0.001689, allocations: 108 kB / 15.6 MB, free: 132 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.00192/0.00192, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.312/2.312, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5234/0.5247, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1214/0.6462, allocations: 132.2 MB / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02935/0.6756, allocations: 23.23 MB / 1.102 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003711/0.6793, allocations: 123.2 kB / 1.102 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003705/0.683, allocations: 1.494 MB / 1.103 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009885/0.693, allocations: 4.097 MB / 1.107 GB, free: 152 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004841/0.6978, allocations: 2.143 MB / 1.109 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007353/0.7052, allocations: 6.517 MB / 1.116 GB, free: 7.488 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002936/0.7082, allocations: 2.365 MB / 1.118 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00505/0.7132, allocations: 2.738 MB / 1.121 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/0.7156, allocations: 1.875 MB / 1.122 GB, free: 452 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003773/0.716, allocations: 252 kB / 1.123 GB, free: 200 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004774/0.7207, allocations: 1.934 MB / 1.125 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0009421/0.7217, allocations: 0.5953 MB / 1.125 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002282/0.724, allocations: 1.462 MB / 1.127 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.7295, allocations: 4.312 MB / 1.131 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7295, allocations: 0 / 1.131 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7295, allocations: 0 / 1.131 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.323e-05/0.7295, allocations: 0 / 1.131 GB, free: 7.867 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.005/0.7345, allocations: 3.176 MB / 1.134 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.7346, allocations: 8.031 kB / 1.134 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002336/0.7348, allocations: 227.8 kB / 1.134 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/0.7392, allocations: 0.8357 MB / 1.135 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003898/0.7432, allocations: 2.221 MB / 1.137 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009891/0.7442, allocations: 290.9 kB / 1.137 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.7444, allocations: 164 kB / 1.137 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003876/0.7483, allocations: 1.942 MB / 1.139 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.7483, allocations: 7.984 kB / 1.139 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.7485, allocations: 64 kB / 1.139 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.7485, allocations: 39.94 kB / 1.139 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00481/0.7533, allocations: 1.811 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.01173/0.7651, allocations: 9.059 MB / 1.15 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004398/0.7695, allocations: 1.202 MB / 1.151 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.7706, allocations: 457.4 kB / 1.152 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.7717, allocations: 1.73 MB / 1.153 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.7718, allocations: 46.55 kB / 1.153 GB, free: 15.35 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.695e-06/0.7718, allocations: 0 / 1.153 GB, free: 15.35 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.008804/0.7806, allocations: 2.328 MB / 1.156 GB, free: 12.97 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.7806, allocations: 85.11 kB / 1.156 GB, free: 12.87 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/0.7844, allocations: 2.52 MB / 1.158 GB, free: 10.33 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.7845, allocations: 45.7 kB / 1.158 GB, free: 10.28 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008217/0.7853, allocations: 1.041 MB / 1.159 GB, free: 9.227 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.7856, allocations: 268.2 kB / 1.16 GB, free: 8.961 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004094/0.786, allocations: 254.6 kB / 1.16 GB, free: 8.707 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.7861, allocations: 349.9 kB / 1.16 GB, free: 8.359 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.788, allocations: 0.5881 MB / 1.161 GB, free: 7.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/0.7902, allocations: 0.9621 MB / 1.162 GB, free: 6.656 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/0.7933, allocations: 1.264 MB / 1.163 GB, free: 5.289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.7933, allocations: 8 kB / 1.163 GB, free: 5.281 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006756/0.8, allocations: 2.043 MB / 1.165 GB, free: 3.223 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.8001, allocations: 8.625 kB / 1.165 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.8001, allocations: 12 kB / 1.165 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/0.8017, allocations: 413.2 kB / 1.165 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.803, allocations: 295.5 kB / 1.166 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.8051, allocations: 1.507 MB / 1.167 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/0.808, allocations: 386.6 kB / 1.167 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.8081, allocations: 63.97 kB / 1.167 GB, free: 0.5039 MB / 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008167/0.8089, allocations: 461.4 kB / 1.168 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005595/0.8095, allocations: 253.1 kB / 1.168 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003836/0.8134, allocations: 1.49 MB / 1.17 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.8134, allocations: 19.98 kB / 1.17 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8134, allocations: 0 / 1.17 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.8134, allocations: 7.922 kB / 1.17 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007806/0.8212, allocations: 3.6 MB / 1.173 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.8213, allocations: 4 kB / 1.173 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/0.8219, allocations: 132.2 kB / 1.173 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.8234, allocations: 421.1 kB / 1.174 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.8235, allocations: 23.98 kB / 1.174 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.8262, allocations: 1.578 MB / 1.175 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.8262, allocations: 7.938 kB / 1.175 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006247/0.8324, allocations: 1.927 MB / 1.177 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009769/0.8334, allocations: 485.6 kB / 1.178 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004938/0.8339, allocations: 27.98 kB / 1.178 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/0.8359, allocations: 139.8 kB / 1.178 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.907e-05/0.836, allocations: 59.8 kB / 1.178 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.294e-05/0.8361, allocations: 43.97 kB / 1.178 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003285/0.8394, allocations: 1.769 MB / 1.18 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8394, allocations: 0 / 1.18 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001947/0.8414, allocations: 0.6866 MB / 1.18 GB, free: 3.105 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007483/0.8489, allocations: 3.009 MB / 1.183 GB, free: 36 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004546/0.8534, allocations: 1.396 MB / 1.185 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.8534, allocations: 0 / 1.185 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002479/0.8559, allocations: 0.664 MB / 1.185 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006497/0.8624, allocations: 1.334 MB / 1.187 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03621/0.8987, allocations: 19.07 MB / 1.205 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.8998, allocations: 1.486 MB / 1.207 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002044/0.9019, allocations: 442.1 kB / 1.207 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/0.9031, allocations: 0.8976 MB / 1.208 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.9031, allocations: 0 / 1.208 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4966/1.4, allocations: 68.18 MB / 1.274 GB, free: 262 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.65, allocations: 5.969 kB / 1.274 GB, free: 262 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_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_CarnotVerifyCOP.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches