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: 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.00162/0.00162, allocations: 103.3 kB / 16.27 MB, free: 6.344 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.001567/0.001567, allocations: 188.7 kB / 17.2 MB, free: 5.949 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.258/2.258, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 66.45 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2741, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1293/0.4034, allocations: 132.2 MB / 1.079 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.5648/0.9682, allocations: 23.21 MB / 1.102 GB, free: 45 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007506/0.9758, allocations: 126.6 kB / 1.102 GB, free: 45 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00541/0.9812, allocations: 1.489 MB / 1.104 GB, free: 44.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01541/0.9967, allocations: 4.099 MB / 1.108 GB, free: 44.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007156/1.004, allocations: 2.146 MB / 1.11 GB, free: 44.78 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01262/1.017, allocations: 6.525 MB / 1.116 GB, free: 44.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005738/1.022, allocations: 2.359 MB / 1.118 GB, free: 44.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008187/1.031, allocations: 2.74 MB / 1.121 GB, free: 43.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004901/1.035, allocations: 1.881 MB / 1.123 GB, free: 43.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001034/1.037, allocations: 248.4 kB / 1.123 GB, free: 43.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006235/1.043, allocations: 1.93 MB / 1.125 GB, free: 43.08 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000809/1.044, allocations: 0.6048 MB / 1.126 GB, free: 42.69 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002606/1.046, allocations: 1.456 MB / 1.127 GB, free: 41.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007107/1.053, allocations: 4.304 MB / 1.131 GB, free: 40.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.053, allocations: 0 / 1.131 GB, free: 40.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.835e-06/1.053, allocations: 4 kB / 1.131 GB, free: 40.31 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.97e-05/1.053, allocations: 3.938 kB / 1.131 GB, free: 40.31 MB / 0.8575 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.006604/1.06, allocations: 3.177 MB / 1.134 GB, free: 38.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.06, allocations: 9 kB / 1.134 GB, free: 38.31 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005054/1.065, allocations: 0.8402 MB / 1.135 GB, free: 38.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005353/1.071, allocations: 2.228 MB / 1.137 GB, free: 36.89 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001004/1.072, allocations: 290.6 kB / 1.138 GB, free: 36.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/1.072, allocations: 162.3 kB / 1.138 GB, free: 36.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/1.076, allocations: 1.935 MB / 1.14 GB, free: 35.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/1.076, allocations: 5.375 kB / 1.14 GB, free: 35.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/1.076, allocations: 60.94 kB / 1.14 GB, free: 35.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/1.076, allocations: 41.81 kB / 1.14 GB, free: 35.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004774/1.081, allocations: 1.818 MB / 1.142 GB, free: 35.27 MB / 0.8575 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.01234/1.093, allocations: 9.069 MB / 1.15 GB, free: 28.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00433/1.098, allocations: 1.186 MB / 1.152 GB, free: 28.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/1.099, allocations: 459.7 kB / 1.152 GB, free: 28.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008135/1.1, allocations: 1.729 MB / 1.154 GB, free: 26.33 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/1.1, allocations: 37.38 kB / 1.154 GB, free: 26.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=76): time 2.815e-06/1.1, allocations: 0 / 1.154 GB, free: 26.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.008811/1.109, allocations: 2.332 MB / 1.156 GB, free: 25.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/1.109, allocations: 88.83 kB / 1.156 GB, free: 24.92 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/1.112, allocations: 2.516 MB / 1.159 GB, free: 23.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001841/1.113, allocations: 45.77 kB / 1.159 GB, free: 23.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006783/1.113, allocations: 1.035 MB / 1.16 GB, free: 22.63 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/1.114, allocations: 273 kB / 1.16 GB, free: 22.4 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/1.114, allocations: 253.8 kB / 1.16 GB, free: 22.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.41e-05/1.114, allocations: 347.8 kB / 1.16 GB, free: 21.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/1.116, allocations: 0.5854 MB / 1.161 GB, free: 21.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/1.118, allocations: 0.9648 MB / 1.162 GB, free: 20.9 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002795/1.12, allocations: 1.264 MB / 1.163 GB, free: 20.08 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/1.12, allocations: 3.906 kB / 1.163 GB, free: 20.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006507/1.127, allocations: 2.048 MB / 1.165 GB, free: 19.06 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.127, allocations: 11.22 kB / 1.165 GB, free: 19.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.127, allocations: 8.344 kB / 1.165 GB, free: 19.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/1.129, allocations: 422.2 kB / 1.166 GB, free: 18.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/1.13, allocations: 292.6 kB / 1.166 GB, free: 18.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/1.132, allocations: 1.5 MB / 1.167 GB, free: 17.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003536/1.135, allocations: 386.9 kB / 1.168 GB, free: 17.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/1.136, allocations: 63.27 kB / 1.168 GB, free: 17.25 MB / 0.8575 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.0008965/1.136, allocations: 463.5 kB / 1.168 GB, free: 16.92 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006298/1.137, allocations: 256.1 kB / 1.168 GB, free: 16.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/1.141, allocations: 1.481 MB / 1.17 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/1.141, allocations: 14.86 kB / 1.17 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.141, allocations: 4 kB / 1.17 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.141, allocations: 11.92 kB / 1.17 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007385/1.148, allocations: 3.619 MB / 1.174 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.148, allocations: 2.969 kB / 1.174 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/1.149, allocations: 129.5 kB / 1.174 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/1.15, allocations: 421.2 kB / 1.174 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/1.15, allocations: 28.73 kB / 1.174 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/1.152, allocations: 1.58 MB / 1.176 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.152, allocations: 6.562 kB / 1.176 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005934/1.158, allocations: 1.926 MB / 1.177 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/1.16, allocations: 489.7 kB / 1.178 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004078/1.16, allocations: 15.5 kB / 1.178 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/1.162, allocations: 142.3 kB / 1.178 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.109e-05/1.162, allocations: 69.25 kB / 1.178 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.859e-05/1.162, allocations: 42.97 kB / 1.178 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002775/1.165, allocations: 1.762 MB / 1.18 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.165, allocations: 0 / 1.18 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002373/1.167, allocations: 0.6921 MB / 1.181 GB, free: 9.109 MB / 0.8575 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.001106/1.168, allocations: 0.6174 MB / 1.181 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004198/1.173, allocations: 1.387 MB / 1.183 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.173, allocations: 2.406 kB / 1.183 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/1.175, allocations: 0.6702 MB / 1.183 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006256/1.181, allocations: 1.335 MB / 1.185 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005416/1.187, allocations: 3.636 MB / 1.188 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006817/1.187, allocations: 1.474 MB / 1.19 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/1.188, allocations: 187.4 kB / 1.19 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of SimCode: time 7.11e-07/1.188, allocations: 0 / 1.19 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of Templates: time 0.0788/1.267, allocations: 62.38 MB / 1.251 GB, free: 3.488 MB / 0.92 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/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