Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001579/0.001579, allocations: 100.1 kB / 15.88 MB, free: 12 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.002092/0.002092, allocations: 196 kB / 16.79 MB, free: 6.809 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.476/1.476, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437 MB / 0.7106 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.89 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6968/0.6983, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1187/0.817, allocations: 131.4 MB / 1.146 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02984/0.8469, allocations: 23.31 MB / 1.168 GB, free: 7.633 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004806/0.8517, allocations: 111.3 kB / 1.168 GB, free: 7.523 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004354/0.8562, allocations: 1.216 MB / 1.17 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.8671, allocations: 3.76 MB / 1.173 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005222/0.8724, allocations: 1.968 MB / 1.175 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009969/0.8823, allocations: 8.282 MB / 1.183 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003566/0.8859, allocations: 1.972 MB / 1.185 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005497/0.8915, allocations: 2.352 MB / 1.188 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.8948, allocations: 1.87 MB / 1.189 GB, free: 2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005482/0.8954, allocations: 120 kB / 1.189 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00438/0.8998, allocations: 1.742 MB / 1.191 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006325/0.9005, allocations: 493.6 kB / 1.192 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002111/0.9026, allocations: 1.321 MB / 1.193 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004498/0.9071, allocations: 3.321 MB / 1.196 GB, free: 11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9071, allocations: 0 / 1.196 GB, free: 11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9071, allocations: 0 / 1.196 GB, free: 11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.364e-05/0.9072, allocations: 0 / 1.196 GB, free: 11 MB / 0.9512 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.005943/0.9131, allocations: 3.168 MB / 1.199 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.9132, allocations: 8.031 kB / 1.199 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004561/0.9178, allocations: 0.8477 MB / 1.2 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/0.9222, allocations: 2.256 MB / 1.202 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009913/0.9232, allocations: 294.8 kB / 1.203 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.9235, allocations: 160 kB / 1.203 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004154/0.9276, allocations: 1.934 MB / 1.205 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.9277, allocations: 3.938 kB / 1.205 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.9278, allocations: 64 kB / 1.205 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.9279, allocations: 47.94 kB / 1.205 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004669/0.9325, allocations: 1.807 MB / 1.207 GB, free: 188 kB / 0.9512 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.01297/0.9455, allocations: 9.008 MB / 1.215 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004163/0.9497, allocations: 1.193 MB / 1.216 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.9508, allocations: 461.4 kB / 1.217 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.952, allocations: 1.719 MB / 1.219 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.952, allocations: 46.5 kB / 1.219 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.846e-06/0.952, allocations: 0 / 1.219 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.008641/0.9607, allocations: 2.329 MB / 1.221 GB, free: 372 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.9608, allocations: 85.11 kB / 1.221 GB, free: 268 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004245/0.965, allocations: 2.489 MB / 1.223 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000202/0.9652, allocations: 45.7 kB / 1.223 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008943/0.9661, allocations: 1.045 MB / 1.224 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.9665, allocations: 272.1 kB / 1.225 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000425/0.9669, allocations: 254.6 kB / 1.225 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.967, allocations: 345.9 kB / 1.225 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.9688, allocations: 0.5842 MB / 1.226 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.9708, allocations: 0.9776 MB / 1.227 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002826/0.9737, allocations: 1.264 MB / 1.228 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.9737, allocations: 4 kB / 1.228 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006508/0.9802, allocations: 2.043 MB / 1.23 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.9803, allocations: 12 kB / 1.23 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.9803, allocations: 4 kB / 1.23 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.982, allocations: 423.3 kB / 1.23 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.9833, allocations: 283.6 kB / 1.231 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.9854, allocations: 1.507 MB / 1.232 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003315/0.9887, allocations: 435.8 kB / 1.233 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.9889, allocations: 63.97 kB / 1.233 GB, free: 3.871 MB / 0.9825 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.00097/0.9899, allocations: 457.5 kB / 1.233 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005594/0.9905, allocations: 248.9 kB / 1.233 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00365/0.9941, allocations: 1.502 MB / 1.235 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.9941, allocations: 12 kB / 1.235 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9942, allocations: 0 / 1.235 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.9942, allocations: 3.984 kB / 1.235 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007426/1.002, allocations: 3.583 MB / 1.238 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.002, allocations: 4 kB / 1.238 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/1.002, allocations: 132.2 kB / 1.238 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001529/1.004, allocations: 414.4 kB / 1.239 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.941e-05/1.004, allocations: 27.97 kB / 1.239 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/1.006, allocations: 1.572 MB / 1.24 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.006, allocations: 4 kB / 1.24 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005971/1.012, allocations: 1.935 MB / 1.242 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.014, allocations: 497.4 kB / 1.243 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/1.014, allocations: 23.98 kB / 1.243 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/1.016, allocations: 163.7 kB / 1.243 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.016, allocations: 63.8 kB / 1.243 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.452e-05/1.016, allocations: 43.97 kB / 1.243 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003047/1.019, allocations: 1.746 MB / 1.245 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.019, allocations: 0 / 1.245 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002069/1.021, allocations: 0.6749 MB / 1.245 GB, free: 6.52 MB / 0.9981 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.00115/1.023, allocations: 0.6029 MB / 1.246 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004054/1.027, allocations: 1.354 MB / 1.247 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.027, allocations: 0 / 1.247 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002231/1.029, allocations: 0.6614 MB / 1.248 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00637/1.035, allocations: 1.257 MB / 1.249 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5126/1.548, allocations: 4.325 MB / 1.253 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/1.549, allocations: 1.479 MB / 1.255 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009879/1.55, allocations: 181.7 kB / 1.255 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.823e-06/1.55, allocations: 0.8125 kB / 1.255 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.08658/1.637, allocations: 62 MB / 1.316 GB, free: 184 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches