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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008082/0.0008083, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0008367/0.0008369, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.636/2.636, allocations: 390.9 MB / 0.666 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003769, allocations: 8 kB / 0.8153 GB, free: 13.57 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7219, allocations: 142.4 MB / 0.9544 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1159/0.8378, allocations: 122.2 MB / 1.074 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03597/0.8738, allocations: 21.78 MB / 1.095 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006791/0.8807, allocations: 111.2 kB / 1.095 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004885/0.8856, allocations: 1.001 MB / 1.096 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.8976, allocations: 3.173 MB / 1.099 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005975/0.9036, allocations: 1.519 MB / 1.101 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01234/0.9159, allocations: 7.19 MB / 1.108 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003972/0.9199, allocations: 1.664 MB / 1.109 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005956/0.9259, allocations: 2.15 MB / 1.111 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003767/0.9297, allocations: 1.676 MB / 1.113 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005572/0.9303, allocations: 92 kB / 1.113 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00416/0.9345, allocations: 1.22 MB / 1.114 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006718/0.9352, allocations: 421.8 kB / 1.115 GB, free: 11 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.9366, allocations: 0.555 MB / 1.115 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005114/0.9417, allocations: 3.127 MB / 1.118 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.9417, allocations: 7.938 kB / 1.118 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of FrontEnd: time 5.4e-06/0.9417, allocations: 3.984 kB / 1.118 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.444e-05/0.9418, allocations: 0 / 1.118 GB, free: 7.297 MB / 0.8731 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.005852/0.9477, allocations: 2.697 MB / 1.121 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.9478, allocations: 8.031 kB / 1.121 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004521/0.9523, allocations: 0.9568 MB / 1.122 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004884/0.9572, allocations: 2.211 MB / 1.124 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008664/0.9581, allocations: 314.9 kB / 1.124 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.9584, allocations: 164 kB / 1.125 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004295/0.9627, allocations: 1.973 MB / 1.126 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.9628, allocations: 0 / 1.126 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.9629, allocations: 60 kB / 1.127 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.963, allocations: 40 kB / 1.127 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004603/0.9676, allocations: 1.889 MB / 1.128 GB, free: 12.76 MB / 0.8887 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.01371/0.9813, allocations: 9.086 MB / 1.137 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004018/0.9853, allocations: 1.295 MB / 1.139 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.9864, allocations: 477.4 kB / 1.139 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.9877, allocations: 1.73 MB / 1.141 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.9877, allocations: 38.56 kB / 1.141 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.745e-06/0.9877, allocations: 0 / 1.141 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.008549/0.9963, allocations: 2.496 MB / 1.143 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.9964, allocations: 85.11 kB / 1.143 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004281/1.001, allocations: 2.492 MB / 1.146 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/1.001, allocations: 45.7 kB / 1.146 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008821/1.002, allocations: 1.049 MB / 1.147 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/1.002, allocations: 272 kB / 1.147 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/1.002, allocations: 24 kB / 1.147 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.002, allocations: 349.9 kB / 1.147 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/1.004, allocations: 0.6272 MB / 1.148 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/1.006, allocations: 1.001 MB / 1.149 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/1.008, allocations: 0.678 MB / 1.15 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.008, allocations: 4 kB / 1.15 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00491/1.013, allocations: 1.962 MB / 1.152 GB, free: 3.785 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.013, allocations: 8 kB / 1.152 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.013, allocations: 12 kB / 1.152 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/1.014, allocations: 441.9 kB / 1.152 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.015, allocations: 311.5 kB / 1.152 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/1.018, allocations: 1.542 MB / 1.154 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/1.021, allocations: 479.9 kB / 1.154 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.021, allocations: 63.97 kB / 1.154 GB, free: 0.8984 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0009483/1.022, allocations: 457.5 kB / 1.155 GB, free: 452 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004183/1.022, allocations: 248.9 kB / 1.155 GB, free: 200 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003568/1.026, allocations: 1.552 MB / 1.157 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/1.026, allocations: 8 kB / 1.157 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.026, allocations: 0 / 1.157 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/1.026, allocations: 7.938 kB / 1.157 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007655/1.033, allocations: 3.69 MB / 1.16 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.033, allocations: 7.938 kB / 1.16 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/1.034, allocations: 136.2 kB / 1.16 GB, free: 10.67 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/1.036, allocations: 441.1 kB / 1.161 GB, free: 10.23 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.535e-05/1.036, allocations: 23.98 kB / 1.161 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002532/1.038, allocations: 1.63 MB / 1.162 GB, free: 8.527 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.038, allocations: 7.938 kB / 1.162 GB, free: 8.52 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005767/1.044, allocations: 2.072 MB / 1.164 GB, free: 6.379 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/1.045, allocations: 0.517 MB / 1.165 GB, free: 5.84 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006421/1.046, allocations: 16 kB / 1.165 GB, free: 5.824 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/1.048, allocations: 187.8 kB / 1.165 GB, free: 5.641 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.048, allocations: 67.81 kB / 1.165 GB, free: 5.574 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.048, allocations: 39.97 kB / 1.165 GB, free: 5.535 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003526/1.052, allocations: 1.746 MB / 1.167 GB, free: 3.785 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.71e-07/1.052, allocations: 0 / 1.167 GB, free: 3.785 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0025/1.054, allocations: 0.6788 MB / 1.168 GB, free: 3.105 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001267/1.056, allocations: 0.5817 MB / 1.168 GB, free: 2.523 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00425/1.06, allocations: 1.428 MB / 1.169 GB, free: 1.098 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.06, allocations: 4 kB / 1.169 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00234/1.062, allocations: 0.7264 MB / 1.17 GB, free: 376 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007474/1.07, allocations: 1.259 MB / 1.171 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008859/1.079, allocations: 4.179 MB / 1.175 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/1.08, allocations: 1.49 MB / 1.177 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002774/1.083, allocations: 434.2 kB / 1.177 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006265/1.084, allocations: 171.4 kB / 1.178 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of SimCode: time 1.563e-06/1.084, allocations: 0 / 1.178 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of Templates: time 0.0779/1.162, allocations: 46.7 MB / 1.223 GB, free: 10.67 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (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 & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches