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.00159/0.00159, allocations: 104.6 kB / 15.98 MB, free: 6.352 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.001632/0.001632, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.281/2.281, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 62.38 kB / 0.8127 GB, free: 32.41 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2704, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1252/0.3956, allocations: 131 MB / 1.078 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.5624/0.9581, allocations: 23.05 MB / 1.1 GB, free: 44.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005991/0.9641, allocations: 115.3 kB / 1.1 GB, free: 44.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005067/0.9692, allocations: 1.281 MB / 1.102 GB, free: 44.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01444/0.9837, allocations: 3.823 MB / 1.105 GB, free: 44.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00625/0.99, allocations: 1.981 MB / 1.107 GB, free: 44.38 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01088/1.001, allocations: 6.575 MB / 1.114 GB, free: 44.38 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005003/1.006, allocations: 2.351 MB / 1.116 GB, free: 44.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008334/1.014, allocations: 2.751 MB / 1.119 GB, free: 43.56 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004775/1.019, allocations: 1.948 MB / 1.121 GB, free: 43.11 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/1.02, allocations: 246.7 kB / 1.121 GB, free: 43.11 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007574/1.028, allocations: 1.958 MB / 1.123 GB, free: 42.94 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001103/1.029, allocations: 0.607 MB / 1.123 GB, free: 42.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003407/1.032, allocations: 1.461 MB / 1.125 GB, free: 42.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006298/1.039, allocations: 3.372 MB / 1.128 GB, free: 41.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.039, allocations: 0 / 1.128 GB, free: 41.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.214e-06/1.039, allocations: 0 / 1.128 GB, free: 41.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001118/1.039, allocations: 4 kB / 1.128 GB, free: 41.21 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.008138/1.047, allocations: 3.18 MB / 1.131 GB, free: 39.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.047, allocations: 10.16 kB / 1.131 GB, free: 39.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/1.052, allocations: 0.8369 MB / 1.132 GB, free: 39.03 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005283/1.057, allocations: 2.28 MB / 1.134 GB, free: 37.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009742/1.058, allocations: 290.4 kB / 1.134 GB, free: 37.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/1.059, allocations: 160.7 kB / 1.135 GB, free: 37.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004522/1.063, allocations: 1.937 MB / 1.137 GB, free: 36.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/1.063, allocations: 5.781 kB / 1.137 GB, free: 36.81 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/1.064, allocations: 61.25 kB / 1.137 GB, free: 36.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/1.064, allocations: 44.78 kB / 1.137 GB, free: 36.76 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004779/1.068, allocations: 1.812 MB / 1.138 GB, free: 36.15 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.01349/1.082, allocations: 9.015 MB / 1.147 GB, free: 29.83 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0046/1.087, allocations: 1.193 MB / 1.148 GB, free: 29.44 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/1.088, allocations: 458.7 kB / 1.149 GB, free: 29.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/1.089, allocations: 1.725 MB / 1.15 GB, free: 27.29 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/1.089, allocations: 42.97 kB / 1.151 GB, free: 27.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=76): time 3.707e-06/1.089, allocations: 0 / 1.151 GB, free: 27.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.00916/1.098, allocations: 2.33 MB / 1.153 GB, free: 26.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/1.098, allocations: 92.8 kB / 1.153 GB, free: 26.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004106/1.102, allocations: 2.493 MB / 1.155 GB, free: 25.04 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000261/1.103, allocations: 45.95 kB / 1.155 GB, free: 24.99 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007231/1.103, allocations: 1.036 MB / 1.156 GB, free: 24.08 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/1.104, allocations: 268.2 kB / 1.157 GB, free: 23.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004183/1.104, allocations: 265.2 kB / 1.157 GB, free: 23.7 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.278e-05/1.104, allocations: 348.1 kB / 1.157 GB, free: 23.36 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/1.106, allocations: 0.5842 MB / 1.158 GB, free: 23.08 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/1.108, allocations: 0.9703 MB / 1.159 GB, free: 22.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/1.11, allocations: 1.262 MB / 1.16 GB, free: 21.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/1.111, allocations: 2.219 kB / 1.16 GB, free: 21.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006401/1.117, allocations: 2.041 MB / 1.162 GB, free: 20.51 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/1.117, allocations: 9.469 kB / 1.162 GB, free: 20.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/1.117, allocations: 8.469 kB / 1.162 GB, free: 20.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/1.119, allocations: 424.8 kB / 1.162 GB, free: 20.29 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/1.12, allocations: 290.5 kB / 1.163 GB, free: 20.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/1.122, allocations: 1.507 MB / 1.164 GB, free: 18.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/1.125, allocations: 435.3 kB / 1.165 GB, free: 18.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/1.126, allocations: 66.42 kB / 1.165 GB, free: 18.66 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.000965/1.127, allocations: 467.3 kB / 1.165 GB, free: 18.33 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000668/1.127, allocations: 253.3 kB / 1.165 GB, free: 18.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003343/1.131, allocations: 1.49 MB / 1.167 GB, free: 17.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/1.131, allocations: 11.62 kB / 1.167 GB, free: 17.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.131, allocations: 0 / 1.167 GB, free: 17.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/1.131, allocations: 3.984 kB / 1.167 GB, free: 17.35 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007607/1.138, allocations: 3.603 MB / 1.17 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.138, allocations: 1.594 kB / 1.17 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/1.139, allocations: 131.2 kB / 1.17 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/1.14, allocations: 423.4 kB / 1.171 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.999e-05/1.141, allocations: 30.25 kB / 1.171 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/1.143, allocations: 1.571 MB / 1.172 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.143, allocations: 2.5 kB / 1.172 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005871/1.149, allocations: 1.926 MB / 1.174 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.15, allocations: 495.5 kB / 1.175 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008152/1.151, allocations: 23.39 kB / 1.175 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/1.153, allocations: 169.4 kB / 1.175 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/1.153, allocations: 68.03 kB / 1.175 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/1.154, allocations: 37.47 kB / 1.175 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003107/1.157, allocations: 1.752 MB / 1.177 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/1.157, allocations: 0 / 1.177 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002849/1.16, allocations: 0.6789 MB / 1.177 GB, free: 10.54 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.001406/1.161, allocations: 0.5991 MB / 1.178 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004108/1.165, allocations: 1.39 MB / 1.179 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/1.165, allocations: 2.531 kB / 1.179 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002197/1.167, allocations: 0.6708 MB / 1.18 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00714/1.175, allocations: 1.339 MB / 1.181 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006983/1.182, allocations: 4.334 MB / 1.186 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.183, allocations: 1.482 MB / 1.187 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007433/1.183, allocations: 179.4 kB / 1.187 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of SimCode: time 8.31e-07/1.183, allocations: 0 / 1.187 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of Templates: time 0.0796/1.263, allocations: 62.04 MB / 1.248 GB, free: 5.281 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