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: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 106.5 kB / 15.99 MB, free: 5.914 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.001627/0.001627, allocations: 194 kB / 16.91 MB, free: 5.758 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.277/2.277, allocations: 390.2 MB / 0.665 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 66.69 kB / 0.8127 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2829, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1197/0.4027, allocations: 131.1 MB / 1.078 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.5479/0.9506, allocations: 23.04 MB / 1.1 GB, free: 45.04 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006388/0.9571, allocations: 117.5 kB / 1.1 GB, free: 45.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00508/0.9622, allocations: 1.283 MB / 1.102 GB, free: 45.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01421/0.9765, allocations: 3.815 MB / 1.105 GB, free: 44.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006419/0.9829, allocations: 1.983 MB / 1.107 GB, free: 44.81 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01233/0.9953, allocations: 6.587 MB / 1.114 GB, free: 44.8 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005354/1.001, allocations: 2.345 MB / 1.116 GB, free: 44.51 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009153/1.01, allocations: 2.765 MB / 1.119 GB, free: 43.96 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005412/1.015, allocations: 1.938 MB / 1.121 GB, free: 43.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001436/1.017, allocations: 247.1 kB / 1.121 GB, free: 43.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007881/1.025, allocations: 1.963 MB / 1.123 GB, free: 43.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001663/1.026, allocations: 0.6035 MB / 1.123 GB, free: 43.14 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005016/1.031, allocations: 1.464 MB / 1.125 GB, free: 42.24 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0071/1.038, allocations: 3.381 MB / 1.128 GB, free: 41.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.038, allocations: 1.094 kB / 1.128 GB, free: 41.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/1.038, allocations: 0 / 1.128 GB, free: 41.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001693/1.039, allocations: 0 / 1.128 GB, free: 41.27 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.01042/1.049, allocations: 3.178 MB / 1.131 GB, free: 39.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.049, allocations: 10.06 kB / 1.131 GB, free: 39.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005206/1.054, allocations: 0.8416 MB / 1.132 GB, free: 39.08 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006473/1.061, allocations: 2.261 MB / 1.134 GB, free: 37.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001126/1.062, allocations: 293.1 kB / 1.135 GB, free: 37.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006804/1.063, allocations: 161.3 kB / 1.135 GB, free: 37.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005933/1.069, allocations: 1.936 MB / 1.137 GB, free: 36.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.983e-05/1.069, allocations: 1.25 kB / 1.137 GB, free: 36.87 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/1.069, allocations: 70.56 kB / 1.137 GB, free: 36.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/1.069, allocations: 37.09 kB / 1.137 GB, free: 36.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00524/1.074, allocations: 1.834 MB / 1.138 GB, free: 36.2 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.01607/1.09, allocations: 9.031 MB / 1.147 GB, free: 29.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004412/1.095, allocations: 1.206 MB / 1.148 GB, free: 29.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/1.096, allocations: 464.7 kB / 1.149 GB, free: 29.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009111/1.097, allocations: 1.724 MB / 1.151 GB, free: 27.33 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/1.097, allocations: 38.66 kB / 1.151 GB, free: 27.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=76): time 3.056e-06/1.097, allocations: 0 / 1.151 GB, free: 27.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.009025/1.106, allocations: 2.34 MB / 1.153 GB, free: 26.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/1.106, allocations: 92.95 kB / 1.153 GB, free: 26.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005519/1.112, allocations: 2.522 MB / 1.155 GB, free: 25.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002966/1.112, allocations: 44.95 kB / 1.155 GB, free: 25.02 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009419/1.113, allocations: 1.04 MB / 1.157 GB, free: 24.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/1.113, allocations: 276.5 kB / 1.157 GB, free: 23.87 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006284/1.114, allocations: 261.6 kB / 1.157 GB, free: 23.72 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.638e-05/1.114, allocations: 342.2 kB / 1.157 GB, free: 23.39 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/1.116, allocations: 0.5854 MB / 1.158 GB, free: 23.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/1.118, allocations: 0.9633 MB / 1.159 GB, free: 22.37 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/1.121, allocations: 1.271 MB / 1.16 GB, free: 21.55 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.121, allocations: 2.5 kB / 1.16 GB, free: 21.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006583/1.127, allocations: 2.039 MB / 1.162 GB, free: 20.54 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/1.127, allocations: 12.12 kB / 1.162 GB, free: 20.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/1.127, allocations: 12.86 kB / 1.162 GB, free: 20.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/1.129, allocations: 494.7 kB / 1.163 GB, free: 20.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/1.131, allocations: 290.4 kB / 1.163 GB, free: 20.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/1.133, allocations: 1.518 MB / 1.164 GB, free: 18.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00375/1.136, allocations: 442.5 kB / 1.165 GB, free: 18.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/1.137, allocations: 59.62 kB / 1.165 GB, free: 18.65 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 (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.001206/1.138, allocations: 461.7 kB / 1.165 GB, free: 18.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009694/1.139, allocations: 250.2 kB / 1.166 GB, free: 18.19 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/1.143, allocations: 1.505 MB / 1.167 GB, free: 17.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/1.143, allocations: 10.81 kB / 1.167 GB, free: 17.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.143, allocations: 0 / 1.167 GB, free: 17.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.143, allocations: 3.984 kB / 1.167 GB, free: 17.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008666/1.151, allocations: 3.607 MB / 1.171 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.152, allocations: 3.281 kB / 1.171 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/1.152, allocations: 132 kB / 1.171 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/1.154, allocations: 485.9 kB / 1.171 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.124e-05/1.154, allocations: 29.41 kB / 1.171 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/1.156, allocations: 1.584 MB / 1.173 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.156, allocations: 8.625 kB / 1.173 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005942/1.162, allocations: 1.935 MB / 1.175 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00167/1.164, allocations: 0.4904 MB / 1.175 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.165, allocations: 13.47 kB / 1.175 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.168, allocations: 169.9 kB / 1.175 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.168, allocations: 62.95 kB / 1.175 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.168, allocations: 47.36 kB / 1.175 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003832/1.172, allocations: 1.763 MB / 1.177 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.41e-07/1.172, allocations: 4 kB / 1.177 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003429/1.175, allocations: 0.6831 MB / 1.178 GB, free: 10.46 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 (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.001705/1.177, allocations: 0.6148 MB / 1.178 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00437/1.181, allocations: 1.39 MB / 1.18 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/1.181, allocations: 0 / 1.18 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002317/1.184, allocations: 0.6814 MB / 1.18 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008559/1.192, allocations: 1.325 MB / 1.182 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008023/1.2, allocations: 4.349 MB / 1.186 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.201, allocations: 1.478 MB / 1.187 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008295/1.202, allocations: 191.3 kB / 1.188 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of SimCode: time 1.252e-06/1.202, allocations: 0 / 1.188 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of Templates: time 0.0868/1.289, allocations: 62.18 MB / 1.248 GB, free: 4.938 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (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 & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/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